Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
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>
|