16 lines
1 KiB
HTML
16 lines
1 KiB
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>138. Narrative Phrases - Sub-Phrase Consolidation</h3>
|
|
<hr>
|
|
<a href=Slide137.html>Previous Slide</a> <a href=Slide139.html>Next Slide</a> <br><img SRC=Slide138.JPG border=1><br></center>
|
|
<p><p><big>An example will help us see how this works. Suppose we have rain and fog in the morning then rain, fog and snow in the afternoon. The "preProcessWx" method arranges the sub-phrases according to time span. Next, the "separateNonPrecip" method splits the original phrase into two weather phrases, the original with Rain and Snow disabled, a new one with Fog disabled. Note that the original retains its sub-phrase structure; the disabledSubkeys ensure that the wording reflects Fog only. The new weather_phrase now undergoes the "preProcessWx" method which results in sub-phrases that produce the final words. <br></big>
|
|
</body>
|
|
</html>
|