<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1"/><title>DEEP COMPREHENSION, GENERATION AND TRANSLATION OF WEATHER FORECASTS (WEATHRA)</title><author surname="SIGURD" givenname="BENGT"><org  name="University of Lund" country="Sweden"/></author><author surname="WILLNERS" givenname="CAROLINE"><org  name="University of Lund" country="Sweden"/></author><author surname="EEG-OLOFSSON" givenname="MATS"><org  name="University of Lund" country="Sweden"/></author><author surname="JOHANSSON" givenname="CHRISTER"><org  name="University of Lund" country="Sweden"/></author></firstpageheader><frontmatter><p><b>DEEP COMPREHENSION, GENERATION AND TRANSLATION OF WEATHER FORECASTS (WEATHRA)</b></p><p>by BENGT SIGURD, CAROLINE WILLNERS, MATS EEG-OLOFSSON and CHRISTER JOHANSSON Dept of Linguistics, University of Lund, Sweden E-mail: linglund@gemini.ldc.lu.se FAX:46-(0)46 104210</p><p><b>Introduction   and abstract</b></p></frontmatter><abstract></abstract></header><body><section title=""><p>Weather forecasts were early noted to be a domain where automatic translation was possible (Kittredge, 1973). Everybody in the field knows that there is a computer in Montreal translating forecasts routinely be­tween French and English (METEO). The weather domain has proven to be a fruitful domain for further research as witnessed e.g. by the system for generating marine forecasts presented by Kittredge et al (1986), by the work by Goldberg et al (1988), by the system gene­rating public weather reports in Bulgarian reported on by Mitkov (1991) and the system translating Finnish marine forecasts into Swedish by Blâberg (1988).</p><p>The Swedish Weathra system to be presented in this paper explores the language and semantics of weather forecasts further and it aims at deep comprehension of forecasts. Beside grammatical re­presentations, Weathra uses repre­sentations of the meteorological raw facts and secondary facts, e.g. the fact that it will probably rain at a place where there is a low pressure area. It uses a representation of meteorological   objects   with their properties as frames in a data base and graphic representation with the standard meteorological icons on a map, e.g. icons for sun, cloudy, rain, snow, thunderstorm, westerly winds, L(ow) and H(igh) pressure, temperatures, e.g. 10-15. Weathra also features a dynamic discourse representation including the discourse objects which may be referred to by the words and anaphora in the text (cf Karttunen, 1976, Johnson &amp; Kay, 1990). The discourse objects are regarded as instances of the (proto)types or (concepts), which are also available as frames in a database.</p><p>The formal grammar, morpho­logy and lexicon of Weathra are based on experience from the machine translation system Swetra (Sigurd &amp; Gawronska, 1988), which is also written in Prolog (LPA MacProlog). The Weathra system can understand weather forecasts in a fairly deep sense, depict its comprehension in a map, answer questions about the main contents and consequences, translate English forecasts into Swedish ones and vice versa, and generate various forecast texts in English or Swedish.</p><doubt alpha="50.0" length="86" tooSmall="False" monospace="0.0">AcresdeCOUNG-92,Nantes,23-28août1992 7 4 9 l'roc.oi&lt; COLING-92.Nantes. Aug.23-28, 1992</doubt><page local="2" global="750"/><p><b>The language of forecasts </b>Even a quick glance at the weather forecasts in newspapers shows that they are written in a special format beside using a restricted vocabulary (the METEO system uses some 1000 words, and so does Weathra). There are in fact two basic styles in the forecasts: the telegraphic style illustrated by <i>Sun; Cloudy; Windy; Cool; Morning fog; Thunderstorms in the coastal areas; High 20, Low 15; Westerly winds; Snow over Alps; Visibility moderate; Cloudy, little rain at first, brighter later </i>and a normal descriptive style illustrated by <i>A low pressure area is moving towards Scandinavia. It is expected to reach Norway in the afternoon. </i>There is, in fact, also an informal personalized style which may be illustrated by the following quotes from a British newspaper (the European):</p><p><i>Players in the Rugby League test match between Great Britain and Australia on Saturday may need longer studs and safe hands to tackle the tricky conditions at London's Wembley stadium. Sunseekers looking to top up their tan need look no further than southern Spain.</i></p><p>The Weathra system is primarily designed to treat the telegraphic and the descriptive styles.</p><p><b>The  grammar of forecasts</b></p><p>Weathra includes two grammars motivated by the distinction between telegraphic weather phrases and full sentences. Interestingly enough the gramma­tical categories of the two kinds of expressions differ. The telegraphic phrase grammar can work with a superordinate category called <i>nominal </i>which includes both nouns and adjectives. The noun phrases used in telegraphic grammar may be somewhat different. They may, for instance, lack articles as evidenced by some of the examples mentioned above. The adjectives of the nominal category have a special marker in Swedish, cf English <i>sun in coastal areas:</i><i> sunny in coastal areas </i>(Swedish: <i>Sol i kustomrâdet: Soligt i kustomrâdet.</i></p><p>The telegraphic meteorological phrases lack finite verbs, but there is often a parallel full sentence with a future verb <i>will be </i>(available in the full sentence module). <i>La. Sunny in Wales Lb. The weather will be sunny in... 2.a. Sun in the morning</i> <i>2.</i><i> b. There wilt be sun in...</i></p><doubt alpha="38.1" length="21" tooSmall="False" monospace="0.0">3. a. High 20, Low 15</doubt></section><section number="3." title="b. The temperature will be"><doubt alpha="58.8" length="17" tooSmall="False" monospace="0.0">between 15 and 20</doubt></section><section number="4." title="a. Visibility moderate"><p><i>4.b. The visibility will be moderate</i> <i>4.</i><i>a. Probably rain</i> <i>4.</i><i>b. It will probably rain</i><page local="3" global="75"/></p><doubt alpha="53.7" length="41" tooSmall="False" monospace="0.0">Acresde COUNG-92. Nantes, 23-28 août 1992</doubt><doubt alpha="48.8" length="43" tooSmall="False" monospace="0.0">Proc. ofCOLING-92, Nantes, Aug. 23-28, 1992</doubt><p>The following is the basic rule showing how English weather utterances <i>(ewutt) </i>can be generated as phrases <i>(ewph) </i>or full sentences <i>( ewsent).</i></p><p>ewutt(T,F,S,[]) :- ewph(T,F,S,[]). ewutt(T,F,S,[]) :- ewsent(T,F,S,[]).</p><p>The basic rule for phrases is:</p><p>ewph(A,[event(N),time(fut),advl(A), advl(B),co(C)]) &gt; eadv(A),enom(N), eadv(B),eco(C).</p><p>This rule generates e.g. <i>In the morning mild; Rain in the evening; In Scotland gale in the afternoon; Rain and snow, </i>i.e. nominal phrases with adverbial determiners before and/or after a nominal which can then be an adjective or a noun, single or coordinated. As can be seen the rules render a list representation called <i>functional</i><i> event representation, </i>where the event is the first term, then actors, time and adverbials. There is normally no more than two adverbial phrases before or after the nominal. The last term <i>co(C)</i><i> </i>takes care of cases of coordinated phrases or sentences. The first slot is used to indicate which constituent is in focus (first), information which is useful in the text generation process.</p><p>The   further   division   of the superordinate    category nominal <i>(</i><i> </i><i>e</i><i> </i><i>nom)</i><i> </i>is illustrated by the following rules for English:</p><p>enom(M) — &gt; enp(Agr,M). enom(M) --&gt; eap(M). enp(Agr,nom(H,Adj,Attr)) — &gt; eap(Adj),en(Agr,H),epattr(Agr,Attr).</p><p>Note that noun phrases have to carry agreement information <i>(Agr)</i><i> </i>into the post attributive expression <i>(epattr)</i><i> </i>as it might be a relative clause where the inflection of the verb depends on the features of the head of the np, as in: <i>light winds which turn west/ light wind which turns west.</i></p><p>The following is one of the DCG rules generating and analyzing full sentences:</p><p>ewsent(N,|event(V),actor(N), time(T),advl(Al), co(C)]) --&gt; enp(Agr,N), evi(Agr,m(V,T)), eadv(Al),esco(C).</p><p>It can for instance generate the sentence: <i>A low pressure area approaches Scandinavia. </i>Another pattern is used in order to generate sentences such as <i>The low pressure area will bring rain in Sweden, </i>etc. There are about a dozen different syntactic structures to be found in the forecasts.</p><p>The lexicon has the same format as Swetra. The first slot contains the form of the item (one or several words), the second the meaning written in "machinese", the third slot the grammatical category and further slots may be used for various features and classifications.<page local="4" global="7"/> The following are some examples. slex([in],m(in],prep,_,_,_,_,_,_,loc). slex([ "Skandinavien "],m(scandinavia, prop),n,_,_,_,_,_,_,loc). slex([pâ,eftermiddagen],m(in_the_af ternoon), adv,_,_,_,_,_,time,dur).</p><doubt alpha="50.0" length="84" tooSmall="False" monospace="0.0">Actes deCOLING-92, Nantes, 23-28 août 19921 Proc. ofCOUNG-92, Names, Aug. 23-28,1992</doubt><p>The lexicon includes a great number of multi-word-items of the kind illustrated by <i>pâ eftermiddagen. </i>These fixed phrases are particulary common in special domains such as forecasts.</p><p><b>The words, concepts and objects  of forecasts</b></p><p>Consider the following text, with several alternative second sentences.</p><p><i>A</i><i> </i><i>gale</i><i> is moving towards Scandinavia.</i></p><p>This sentence may be rendered in the following way in order to reveal the concepts and objects involved, some of which can also be referred to. The potential referential objects are numbered (within parentheses). <i>Something (01), which is an instance of the concept 'gale' </i><i>(02)</i><i> and is denoted by the English word gale (03) does something (04) which is an instance of the concept of 'move' </i><i>(05)</i><i> and is denoted by the English word move (06). The movement has a direction (07) which is an instance</i> <i>of the concept 'towards' </i><i>(08)</i><i> and is denoted by the English word towards (09).</i><i> The goal (O10) of the movement has the proper name Scandinavia </i><i>(Oil)</i><i> in English. </i>The following are some possible successive sentences where the objects referred to are marked as Ol,02 etc.</p><doubt alpha="63.2" length="19" tooSmall="False" monospace="0.0">It(01)moves fast(I)</doubt><doubt alpha="59.1" length="22" tooSmall="False" monospace="0.0">It(04) happens fast(2)</doubt><doubt alpha="66.7" length="36" tooSmall="False" monospace="0.0">It(01)is better called a cyclone.(3)</doubt><p><i>It</i><i> (02) translates as "storm" in</i></p><p><i>Swedish </i><i>(4)</i><i> </i><i>It</i><i> (09) is better spelled toward </i><i>(5)</i><i> </i><i>It</i><i> (010) includes Sweden </i><i>(6)</i><i> </i>We take a reference to prove that the object is a possible discourse object <i>(discourse referent </i>to use Karttunen's term, 1976). We may consider discourse objects as individual temporary mental objects created primarily for the sake of communication. They can be denoted by a word and are classified as instances of prototypes (concepts), when they are denoted by generic words. The classification is done according to a set of permanent prototypes (concepts). What the speaker does is typically to create temporary discourse objects, define them as instances of certain types (unless proper names can be used, hopefully known to the listener) and say something about them.</p><doubt alpha="49.4" length="87" tooSmall="False" monospace="0.0">Actes de COUNG-92, Nantes, 23-28 août 19925 2 Proc. of COLING-92, Nantes,Aua.23-28.1992</doubt><page local="5" global="8"/><p>The first object created in our sample text is (01) and it is said to be an instance of the type denoted by 'gale' in English. It is said to do something which is an instance of 'movement', etc. The second sentence may refer to different objects introduced in the first sentence, even to objects denoted by verbs or sentences <i>(It</i><i> moves fast).</i></p><p>If we are to elaborate this sentence we would say <i>The</i><i> movement </i><i>(of</i><i> the gale towards Scandinavia) happens fast, </i>but one may also use a hyperonym as in <i>The</i><i> event happens fast </i>and possibly <i>The accident happens </i>(or <i>develops) fast. </i>We may say that the same object is being referred to in the sentence: <i>It</i><i> is a disaster, </i>but in this case one may assume the existence of a type of object which has been called "inclusive referent" by Bonny Webber.</p><p>Note the distinction between a temporary object created in order to think or say something and a permanent object such as 'gale'. Even a concept can be referred to, as illustrated by the second successive alternative <i>(It</i><i> translates as "storm" in Swedish), </i>where <i>it</i><i> </i>must refer to the object 02, which is a concept, not the object <i>Ol.</i></p><p>We may also note that a word used may be referred to, as illustrated by <i>It</i><i> should better be spelled  "forward", </i>where <i>it </i>certainly refers to the word <i>forwards</i><i>.</i><i> </i>If <i>it </i>were to refer to the concept one would not use the word <i>spelled </i>but rather <i>denoted.</i></p><p>This survey is intended to clarify that it is generally necessary to keep track of the following types of objects and representations:</p><p>1) Meteorological objects</p><p>These include both objects proper, such as low pressure areas and other air masses, and episodes (states, events, and processes) describing phenomena such as rain, change of temperature, as well as locations and time intervals.</p><p>2) Discourse objects</p><p>Discourse objects can be described by meteorological objects, but they also have linguistic expressions. Not all meteorological objects whose existence is implied by a forecast describe discourse objects.</p><p>3) Grammatical representations Grammatical   representations refer to  expressions  signifying discourse objects</p><p>The main levels of representation in Weathra are:</p><p><i>Level of meteorological objects </i>air mass: gale doing:move speed: fast direction: Scandinavia <i>Level of discourse objects</i> <i>Level of functional event-repr.</i><page local="6" global="9"/><i></i></p><doubt alpha="59.4" length="32" tooSmall="False" monospace="0.0">01:gale   02:move 03:Scandinavia</doubt><doubt alpha="29.6" length="27" tooSmall="False" monospace="0.0">04:(=01)    05:move 06:fast</doubt><doubt alpha="46.7" length="92" tooSmall="False" monospace="0.0">Acresde COUNG-92. Nantes, 23-28 août 1992 7 5 3 Proc. of COLING-92, Nantes, Aug. 23-28, 1992</doubt><p>[event(move),actor(gale), time(pres), advl(toward, Scandinavia)], [event(move),actor(gale),time(pres), advl(fast)]</p><p>Text level: <i>A gale is moving towards Scandinavia.   </i><i>It</i><i> moves fast.</i></p><p>The permanent concepts which constitute frames with information is only background objects alluded to by the words (cf Nirenburg &amp; Défrise, 1991). The concept (frame) <i>gale </i>thus includes the information that a 'gale' has speed and that this speed is between 20 and 30 meters per second, a direction (which all speeds have), often leads to accidents at sea and along the coasts, etc. To an English-speaking person the concept is known to be denoted by the word <i>gale,</i><i> </i>to a Swede by <i>storm,</i><i> </i>but that is not essential information in the concept 'gale'. The concept 'move' is to include the information that movement implies being at one place first and another later, a certain speed and direction. To those who are familiar with it the concept 'Scandinavia' includes the information that this is a place and an area, which covers Norway, Sweden, Denmark etc. Scandinavia is a proper name and not a generic noun and something cannot be said to be an  instance of the concept 'Scandinavia'. Concepts are stored as frames using the tool FLEX which is available with LPA MacProlog.</p><p><b>Understanding and generating weather forecasts </b>The program allows a (telegraphic or full) sentence to be parsed by the grammar and lexicon applying some implicational morphological proce­dures. This analysis renders a kind of functional representation as shown above. This representation is parsed by mapping procedures which look for depictable objects and places. Words such as <i>sun,</i><i> </i><i>sunny,</i><i> </i>result <i>in a </i><i>sun</i><i> </i>in the proper place in a map, <i>rain </i>results in the proper symbol, <i>westerly winds </i>results in an arrow with the proper direction. Note that several words may result in the same symbol on the map. <i>Sunny, sun </i>and <i>fair </i>will all be represented by the icon "sun".</p><p>The functional representation is also scanned by the concept finder which looks for concepts about which it has information. Thus the frame 'gale' is used as the prototype of the instance 01 and 'move' is used as the prototype of 02. The meteorological finder looks for data for its general frames.</p><p>The system can be used for generation by placing a certain icon on the map and calling for generation. This will result in a sentence such as telegraphic: <i>Sunny</i> <i>in</i><i> Southern Sweden, </i><i>Sun</i><i> in Southern Sweden, Fair in Southern </i><i>Sweden,</i><i> </i>or descriptive <i>It</i><i> will be sunny.</i><page local="7" global="755"/><i>., There will be sun....The weather will be fair...</i></p><doubt alpha="45.7" length="92" tooSmall="False" monospace="0.0">Acresde COUNG-92, Nantes. 23-28 août 1992 7 5 41'boc. of COLING-92, Nantes, Aug. 23-28, 1992</doubt><p>The generation process may be set to generate telegraphic or full utterances, single or coordinated utterances, texts where the area is kept in focus, e.g. <i>Wales will get sun and light winds </i>or coordinations with different areas such as <i>Wales</i><i> will get sun, but Cornwall will get rain. </i>The procedures may also generate texts where the focus is on the weather type as illustrated by <i>There will be snow in Scotland and in the Midlands </i>or <i>There will be snow in Scotland, but rain in Wales.</i></p><p><b>Translation</b></p><p>The generation triggered by placing a meteorological icon on the map can be rendered in English or Swedish. Parsed and analyzed Swedish forecasts can be translated into English using the functional event representation. The functional representations of English and Swedish are very similar and the few differences are handled by transfer rules.</p></section><references><p>Blâberg, O. Translating Finnish weather forecasts into Swedish (Dept of Linguistics, Umeâ: 1988)</p><p>Bourbeau, L, Carcagno, D, Goldberg, E, Kittredge, R &amp; Polguère, A. Bi­lingual generation of weather fore­casts in an operations environment. Proc. Coling 90, Helsinki (1990) Goldberg, E., Kittredge, R &amp; Polguère, A. Computer generation of marine weather forecast text. Journal of atmospheric and oceanic technology, vol 5, no 4, 472-483 Johnson, M &amp; Kay, M. Semantic abstracting and anaphora. Coling 90. Helsinki (1990)</p><p>Karttunen, L. Discourse referents. In: McCawley, J (ed) Syntax and semantics 7, New York (Academic press:1976), 363-385 Kittredge, R, et al (1973) 'TAUM-73'. Montreal: Université de Montreal Kittredge, R., Polguère, A. &amp; Goldberg, E. Synthesizing weather forecasts from formatted data. Proc. of Coling 86, Bonn (1986) Mitkov, R. Generating public weather reports. In: Yusoff, Z. Proceedings of the International conference on Current issues in Computational Linguistics, Penang Malaysia, 1991</p><p>Nirenburg, S. &amp; Défrise, C. Aspects of text meaning. In: J. Pustejovsky (ed) Semantics and the lexicon. Dordrecht (1991:Kliiwer)</p><p>Sigurd, B. &amp; Gawronska, B. The potential of SWETRA a multi-language MT-system. Computers and   Translation 3, (1988), 238-250.</p><doubt alpha="53.5" length="43" tooSmall="False" monospace="0.0">Actes de COLING-92, Nantes, 23-28 août 1992</doubt><doubt alpha="48.8" length="41" tooSmall="False" monospace="0.0">Proc.or- COUNG-92,Nantes, Aug.23-28, 1992</doubt></references></body></article>