21.04.2013 Views

Eckhard Bick - VISL

Eckhard Bick - VISL

Eckhard Bick - 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.

Base forms ("...") are tags like all others, only word forms may not be used (they have<br />

their own place, in the beginning of the rule, cp. above). Instead of rewriting the same<br />

rule for several targets, these can be combined by using the set convention 110 :<br />

SELECT NOMINAL IF (-1C DET) ;<br />

where NOMINAL has been defined as N, A, PCP, and the context condition demands<br />

an unambiguous ('C' for 'careful') determiner at the neighbouring position to the left (-<br />

1).<br />

CONTEXT:<br />

Contexts are delimited by parentheses, and by default AND-linked, that is, they must all<br />

apply at the same time, if the rule is to be used (true). A complete context consists of the<br />

following:<br />

1. A position information, consisting of a number denoting the relative position to the<br />

left (-) or right (+), where (or from where) the context condition is to be checked. NOT<br />

can be added in front, and will negate the context condition. An asterisk (*) before the<br />

position number means "unbounded context", i.e. the condition applies all the way left<br />

(-) or right (+) of the position given (absolute or LINKed), - even if the search for a<br />

fitting context should cross the TARGET position (position 0) 111 . For non-negated<br />

(positive) contexts, only the first instance of the context condition will be instantiated<br />

(used for matching the rest of the rule), unless one uses the double asterisk (**), which<br />

makes the rule checker search all the way to a DELIMITER, even in non-negated<br />

contexts. An at-sign (@) before the position number means an absolute context, @1, for<br />

instance, refers to the first cohort, @-2 to the last but one cohort in the sentence.<br />

2. A context condition, consisting of a set, a tag or a tag sequence (the last two in<br />

parentheses), which again can be linked by the operators OR (union), + (concatenation<br />

within the same reading) or AND (intersection of two tags from the cohort). A C<br />

(careful) directly after the position number means that the context condition must be<br />

the cohort's only tag. (-1C N), for instance, means a safe (= fully diambiguated) noun<br />

reading one position to the left. If the word to the left has a, say, (V)-reading at the same<br />

time, the context can not be instantiated (is not true).<br />

3. A linked (complex) context, where the word LINK "hooks up" 2 contexts (within<br />

the same context parenthesis). The second context's relative position is calculated from<br />

the first context's instantiated position, which becomes the new "0-position". This way<br />

one can build long context chains (where all the LINKed contexts are oriented towards<br />

the same side, either right (+) or left (-). Also zero-links (adding more conditions to an<br />

instantiated context) are allowed.<br />

110 In terma of rule writing efficiency, not allowing for sets in targets is one of the main disadvantages of the older cg1.<br />

111 In the cg1 compiler, an unbounded search would not pass the target (0) position, accounting for one of the more<br />

substantial incompatibilities between cg1 and cg1.<br />

- 154 -

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

Saved successfully!

Ooh no, something went wrong!