<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>93. Narrative Phrases - SetUp Method</h3> <hr> <a href=Slide92.html>Previous Slide</a> <a href=Slide94.html>Next Slide</a> <br><img SRC=Slide93.JPG border=1><br></center> <p><p><big>Here's an example setUp method for the wind_phrase. We first set up the information about the weather elements included in the phrase. Then we determine a connectorMethod which will create the connecting words between sub-phrases. For example, "North winds 10 mph INCREASING TO 20 mph in the afternoon". Then we call a PhraseBuilder method to set up the sub-phrases according to the temporal resolution of the statistics. Finally, it is important the we return the "self.DONE()" flag so this method is not called again.<br><br><br></big> </body> </html>