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.

Spann<strong>in</strong>g W<strong>in</strong>dow Boundaries<br />

(*1> ("http.*")) ; # Recogniz<strong>in</strong>g a reference section: F<strong>in</strong>d urls<br />

(*-1< UTR + @SUBJ BARRIER CLB) ; # Anaphora: Pronoun gender<br />

resolution<br />

(*0W () ; # Doma<strong>in</strong>: Text about cars<br />

➢ Span Left (): allows <strong>to</strong> span right boundaries<br />

➢ Span Both (W): allows <strong>to</strong> span boundaries right and left<br />

➢ Default ± 2 w<strong>in</strong>dows, otherwise<br />

command l<strong>in</strong>e flag: --num-w<strong>in</strong>dows 5<br />

➢ Always allow<strong>in</strong>g all spans <strong>to</strong> cross boundaries<br />

command l<strong>in</strong>e flag: --always-span

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

Saved successfully!

Ooh no, something went wrong!