awips2/cave/com.raytheon.viz.gfe/help/TextProductUserGuideNarrative/Slide131.html
2022-05-05 12:34:50 -05:00

16 lines
941 B
HTML

<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title></title>
</head>
<body>
<center>
<h2> Text Formatter User Guide for Narrative Products</h2>
<h3>131. Narrative Phrases - Embed Descriptor</h3>
<hr>
<a href=Slide130.html>Previous Slide</a> <a href=Slide132.html>Next Slide</a> <br><img SRC=Slide131.JPG border=1><br></center>
<p><p><big>The "embedDescriptor" method uses information stored in the first sub-phrase to embed the descriptor after the direction so that we end up with phrases like "N winds 10 mph" instead of "Winds N 10 mph". It's Trigger Condition is that all sub-phrases have the "words" attribute set. When this is the case, "embedDescriptor" checks to see if the "embedded_descriptor_flag" is set. If so, it uses the "dirStr" and "phraseDescriptor" attributes of the first non-empty sub-phrase (set by "vector_words") to switch the order.<br><br><br></big>
</body>
</html>