12.07.2015 Views

The dissertation of Andreas Stolcke is approved: University of ...

The dissertation of Andreas Stolcke is approved: University of ...

The dissertation of Andreas Stolcke is approved: University of ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

andi<strong>is</strong>I8inÖ=ÕCHAPTER 5. PROBABILISTIC ATTRIBUTE GRAMMARS 105the language. <strong>The</strong> context-free productions are augmented with attribute specifications that determine how anonterminals attributes are computed as a function other nonterminals’ attribute values and terminals. 1Many lingu<strong>is</strong>tic formal<strong>is</strong>ms based on context-free grammars employ a related concept, typicallyknown by the name <strong>of</strong> ‘features.’ Like attributes, these are attachments to the nonterminals in the grammar,but their values and their specifications are usually more restricted, in the form <strong>of</strong> directed acyclic graphs andunification equations (Shieber 1986).<strong>The</strong> attribute grammar model used here <strong>is</strong> a much simplified variant <strong>of</strong> either <strong>of</strong> these two traditionalCFG extensions, with a probabil<strong>is</strong>tic component added to yield the usual notions <strong>of</strong> sample probability,likelihood, etc. We will use the terms attribute and feature interchangeably.5.2.1 Definitions<strong>The</strong> model can be characterized as follows.Definition 5.1 A probabil<strong>is</strong>tic attribute grammar (PAG) <strong>is</strong> a stochastic context-free grammar with the followingadditional prov<strong>is</strong>ions.a) Each )nonterminal a SCFG derivation has an associated finite set a features from a setf.a function that assigns an element from the finite set <strong>of</strong> valuesh feature to theA featuregIfnonterminals it <strong>is</strong> defined on. Following the traditional precedents mentioned above, we denote the factthat featuregon nonterminal )has valueiby6Li )g£jgb) An extended context-free production specifies the feature values attached to the LHS nonterminal interms <strong>of</strong> either constant values or the features <strong>of</strong> RHS nonterminals. Thus, a production1Ö2can have feature specifications) ¸ =£££+=Õ6ÖÕandkfor H some , VH 1 Vl",the value featurekon=Õo@YÖ<strong>of</strong><strong>is</strong>.6Li )g£jgÕa@aÖ£k )g£jg"6T=If. <strong>The</strong> latter specification determines that the value <strong>of</strong> )g£jg<strong>is</strong> whateverfor somegIfIh, orc) Feature equations have associated probabilities, written)g£gK6mif01+-,Certain ordering constraints are typically imposed to guarantee that these attribute values can actually be computed effectively andefficiently.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!