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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A <strong>rules</strong> file 2<br />
(morphological disambiguation)<br />
CONSTRAINTS<br />
REMOVE (N S) IF (-1C PRE-N-P) ; # remove a s<strong>in</strong>gular noun read<strong>in</strong>g if there is a<br />
safe plural prenom<strong>in</strong>al directly <strong>to</strong> the left.<br />
REMOVE NOMINAL IF (NOT 0 P) (-1C (DET) + P) ; # remove a nom<strong>in</strong>al if it isn't<br />
plural but preceded by a safe plural determ<strong>in</strong>er.<br />
REMOVE (VFIN) IF (*1 VFIN BARRIER CLB OR (KC) LINK *1 VFIN BARRIER<br />
CLB OR (KC)) ; # remove a f<strong>in</strong>ite verb read<strong>in</strong>g if there are <strong>to</strong> more f<strong>in</strong>ite verbs <strong>to</strong> the<br />
right none of them barred by a clause boundary (CLB) and coord<strong>in</strong>at<strong>in</strong>g conjunction<br />
(KC).