![]() |
11-711: Nyberg's Lecture Notesfile:/afs/cs/project/cmt-55/lti/Courses/711/html/index.html Natural Language Generation (2)In this lecture, we cover more detailed examples of the basic NL generation phases introduced in the last lecture.Frame Planning for Text Structuring(DIOGENES, Nirenburg et al. 1990)
Lexical Selection(DIOGENES, Nirenburg et al. 1990; KANT, Mitamura et al. 1991) Choosing target language lexical units to realize elements of a text meaning representation. Two major tasks:
When there is more than one lexical realization for a unit of meaning, a variety of methods can be used to select among them.
"a person whose sex is male and whose age is between 13 and 15
years" large_quantity_of ==> big, enormous, great, high, large, strong, wide We say high voltage and large amount, but it would be inappropriate to generate high selection or large difficulty. We can use explicit representations of collocational preference for each word or classes of words; or we can use corpus statistics (e.g., n-gram models) to prefer certain collocations. The conceptual mirror-image of selectional restriction in parsing. If a given slot in the interlingua frame is filled with a certain filler, then select a certain lexical realization; otherwise use the default realization: "Operate the engine until the engine reaches normal operating temperature." (atteindre) "If the temperature reaches the cloud point, a wax forms in the fuel." (baisser) (glex *A-REACH (pattern (and (theme *O-TEMPERATURE-MEASUREMENT) (goal *O-LOW-TEMPERATURE-READING))) (lex "baisser")) (glex *A-REACH (lex "atteindre"))
Coreference TreatmentConsider the following excerpt from a newspaper article (quoted after Brown and Yule, 1983). All of the noun phrases marked with italics are coreferential, and might be represented in the text meaning as a single concept:
Choosing a lexical realization depends both on these coreferential relations, and also the style of text. Note that the first reference accomplishes a certain demographic/political placement and the second reference names the actor. The subsequent anaphors and definite descriptions are varied means whereby reference is made to the actor in the rest of the text.
Unification-based Realization(Genkit, Tomita and Nyberg 1988; Morphe, Leavitt 1990)
(<vp> ==> (<v> <np>) ((x2 == (x0 obj)) (x1 = x0))) if (and (gender = m) gender (number = sg) m / \ f (type = superlative)) number <....> ==> "ending1" sg / \ pl type <...> if (and (gender = m) sup / \ comp (number = sg) "e1" "e2" (type = comparative)) ==> "ending2" if (and (gender = m) (number = pl) (type = superlative)) ==> "ending3" etc. By precomputing the search space, more efficient run-time processing can be achieved. Examples
25-Nov-96 by ehn@cs.cmu.edu |