08.11.2014 Views

On how to write rules in Constraint Grammar (CG-3) - VISL

On how to write rules in Constraint Grammar (CG-3) - VISL

On how to write rules in Constraint Grammar (CG-3) - VISL

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.

A <strong>rules</strong> file 3<br />

(syntactic disambiguation)<br />

MAPPINGS<br />

MAP (@SUBJ> @ACC>) TARGET (PROP) IF (*1C VFIN BARRIER ALL -<br />

(ADV)) (NOT -1 PROP OR PRP) (NOT *-1 VFIN) ; # a proper noun can be either<br />

forward subject or forward direct object, if there follows a f<strong>in</strong>ite verb <strong>to</strong> the right with<br />

noth<strong>in</strong>g but adverbs <strong>in</strong> between, provided there is no proper noun or preposition<br />

directly <strong>to</strong> the left, and a f<strong>in</strong>ite verb anywhere <strong>to</strong> the left.<br />

CONSTRAINTS<br />

REMOVE (@SUBJ>) IF (*1 @MV BARRIER CLB LINK *1C @

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

Saved successfully!

Ooh no, something went wrong!