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.

CHAPTER 6. EFFICIENT PARSING WITH STOCHASTIC CONTEXT-FREE GRAMMARS 156(a)(b)STATE SET 00 --> .Spredicted ...0 S --> .NP VP0 NP --> .DET NSTATE SET 1scanned "a" ...0 DET --> a .completed ...0 --> DET .MAX 0 DET --> a .0 NP --> DET .Npredicted ...STATE SET 2scanned "circle" ...1 N --> circle .completed ...0 --> NP .1 --> N .MAX 0 NP --> DET N .1 N --> circle .0 S --> NP .VPpredicted ...2 VP --> .VI PP2 VP --> .VT NPSTATE SET 3scanned "touches" ...2 VT --> touches .completed ...2 --> VT .MAX 2 VT --> touches .2 VP --> VT .NPpredicted ...3 PP --> .P NPSTATE SET 0STATE SET 1STATE SET 2STATE SET 30 --> .?0 --> DET .?0 --> NP .?0 --> DET N .?0 --> NP VT .?0 --> DET N VT .?STATE SET 4scanned "below" ...3 P --> below .completed ...3 --> P .MAX 3 P --> below .3 PP --> P .NPpredicted ...4 S --> .NP VP4 NP --> .DET NSTATE SET 5scanned "a" ...4 DET --> a .completed ...4 --> DET .MAX 4 DET --> a .4 NP --> DET .Npredicted ...STATE SET 6scanned "square" ...5 N --> square .completed ...3 --> PP .4 --> NP .MAX 3 PP --> P NP .5 --> N .4 NP --> DET N .5 N --> square .4 S --> NP .VPSTATE SET 4STATE SET 5STATE SET 60 --> NP VT P .?0 --> DET N VT P .?0 --> NP VT P DET .?0 --> DET N VT P DET .?0 --> NP VT PP .?0 --> DET N VT PP .?0 --> NP VT P NP .?0 --> DET N VT P NP .?0 --> NP VT P DET N .?0 --> DET N VT P DET N .?Table 6.3: Robust parsing using the simple grammar from Table 6.1.(a) State sets generated from parsing the ungrammatical string a circle touches above a square.Dummy states (those with empty LHS) represent partial parses. States representing ‘maximal’partial parses are marked with MAX. Predictions that don’t lead to completions have been omittedto save space. (b) Trace <strong>of</strong> variable state completions resulting in a l<strong>is</strong>t <strong>of</strong> complete partial parsesfor th<strong>is</strong> input.

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

Saved successfully!

Ooh no, something went wrong!