wiki:SingleCondition

Version 3 (modified by Vojtěch Kovář, 13 years ago) (diff)

--

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 more values for one feature by enclosing them into a couple of parentheses ().

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 having second case.