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 1<br />

(def<strong>in</strong>itions)<br />

DELIMITERS = " "" "" ; # sentence w<strong>in</strong>dow<br />

SETS<br />

LIST NOMINAL = N PROP ADJ PCP ; # nom<strong>in</strong>als, i.e. potentieal nom<strong>in</strong>al heads<br />

LIST PRE-N = DET ADJ PCP ; # prenom<strong>in</strong>als<br />

LIST P = P S/P ; # plural<br />

SET PRE-N-P = PRE-N + P ; # plural prenom<strong>in</strong>als, equivalent <strong>to</strong> (DET P) (DET S/P)<br />

(ADJ P) (ADJ S/P) (PCP P) (PCP S/P)<br />

LIST CLB = "" KS (ADV ) (ADV ) ; # clause boundaries<br />

LIST ALL = N PROP ADJ DET PERS SPEC ADV V PRP KS KC IN ; # all word<br />

classes<br />

LIST V-SPEAK = "dizer" "falar" "propor" ; # speech verbs<br />

LIST @MV = @FMV @IMV ; # ma<strong>in</strong> verbs

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

Saved successfully!

Ooh no, something went wrong!