20.07.2013 Views

Notes on computational linguistics.pdf - UCLA Department of ...

Notes on computational linguistics.pdf - UCLA Department of ...

Notes on computational linguistics.pdf - UCLA Department of ...

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.

Stabler - Lx 185/209 2003<br />

A note <strong>on</strong> the implementati<strong>on</strong>.<br />

Although the basic idea behind this treatment <strong>of</strong> head movement is very simple, it is now a bigger job to<br />

take care <strong>of</strong> all the details in parsing. There are many more special cases <strong>of</strong> merge and move. Prolog does<br />

not like all the operators we are using to indicate the different kinds <strong>of</strong> selecti<strong>on</strong> we have, so unfortunately we<br />

need a slightly different notati<strong>on</strong> there. The whole collecti<strong>on</strong> so far is this:<br />

feature meaning prolog notati<strong>on</strong><br />

x category x x<br />

=x select and merge with a phrase with category x =x<br />

(first selecti<strong>on</strong> attached as comp, <strong>on</strong> right, sec<strong>on</strong>d as spec, <strong>on</strong> left)<br />

+x move a phrase with feature -x to spec +x<br />

-x move to the spec <strong>of</strong> a category with a +x feature -x<br />

=>x select phrase with cat x and adjoin its head <strong>on</strong> the left <strong>of</strong> yours =>x<br />

x

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

Saved successfully!

Ooh no, something went wrong!