wiki:SingleCondition

Single Condition

A single condition is a tag of the following format:

(attribute<white space>value)

Note that there can be no white space after the left and before the right bracket, whereas there can be an arbitrary amount of white space characters between the attribute and its value.

A disjunction (logical or) of values is denoted by a vertical bar (|), furthermore, in case of the tag attribute, it is possible to use regular expressions as the value.

Example:

(lemma world) -- will match input words having lemma world.
(word and|or|so) -- will match input words and or or or so.
(tag k[123].*c2) -- will match any substantive, adjective or pronoun in genitive.

Last modified 8 years ago Last modified on Jan 25, 2013, 10:16:50 AM