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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Labelled arcs for other purposes<br />

➢ <strong>in</strong>stead of the default dependency arcs, other relations<br />

can be def<strong>in</strong>ed:<br />

➢ SETRELATION (identity) TARGET () TO (*-1 N) ;<br />

(Set a ”identity” rela<strong>to</strong>n from a relative pronoun <strong>to</strong> a noun occurr<strong>in</strong>g<br />

earlier <strong>in</strong> the sentence.)<br />

➢ results <strong>in</strong>: ID:n R:identity:m<br />

n: arc base (here pronoun) word number<br />

identity: relation name <strong>in</strong>troduced by R<br />

m: arc head (here the referent noun) word number<br />

➢ REMRELATION – removes one direction of a relation<br />

REMRELATION (name) targetset () TO ()<br />

➢ SETRELATIONS and REMRELATIONS simultaneously handle 2<br />

names for the two directions of a relation

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

Saved successfully!

Ooh no, something went wrong!