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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Mapp<strong>in</strong>g (MAP, ADD)<br />
MAP (@SUBJ) TARGET (N) IF (NOT *-1 NON-PRE-N)<br />
MAP (@SUBJ) (N) (NOT *-1 NON-PRE-N)<br />
➢ Usually as a special section (MAPPING or BEFORE-<br />
SECTIONS), but <strong>in</strong> cg3 allowed anywhere<br />
➢ Strictly ordered<br />
➢ Both MAP and ADD can be used <strong>to</strong> add tags, but:<br />
MAP "closes" a l<strong>in</strong>e for further mapp<strong>in</strong>g (but not SUBSTITUTE!)<br />
even if the mapped tag(s) does not conta<strong>in</strong> the flagged prefix<br />
(default @)<br />
ADD maps, but allows further mapp<strong>in</strong>g<br />
➢ MAPed tags can be "seen" by later mapp<strong>in</strong>g <strong>rules</strong>, even<br />
<strong>in</strong> the same section