28.06.2013 Views

Papers in PDF format

Papers in PDF format

Papers in PDF format

SHOW MORE
SHOW LESS

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

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

allow<strong>in</strong>g the user to type <strong>in</strong> a sentence. Similarly, click<strong>in</strong>g on Add Categories and Add Rules make the category fields<br />

and rule fields editable. The next image shows the state of the application after the user has selected a new sentence,<br />

assigned categories to the words and typed <strong>in</strong> a set of rules.<br />

The category labels for the words <strong>in</strong> the example above are d for determ<strong>in</strong>er, n for noun, v for verb and p for<br />

preposition. The complex category labels <strong>in</strong> the rules, s, np, vp and pp, stand for sentence, noun phrase, verb phrase and<br />

preposition phrase. A rule such as s -> np vp states that a sentence can consist of a noun phrase and a verb phrase.<br />

(Standard abbreviations were used <strong>in</strong> this example, but any labels could be used as long as the user is consistent.)<br />

When the selections have been made, the user clicks on Parse, and trees correspond<strong>in</strong>g to the analyses generated by the<br />

grammar (if there are any) are shown. With the grammar given <strong>in</strong> the image above, there are two dist<strong>in</strong>ct structural<br />

analyses, one of which is shown <strong>in</strong> the picture below (the Next Parse and Previous Parse buttons are used to move<br />

between parse trees; Return to Analysis returns to the <strong>in</strong>put display).

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

Saved successfully!

Ooh no, something went wrong!