Changes between Version 3 and Version 4 of SingleCondition
- Timestamp:
- Jan 18, 2013, 2:06:11 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SingleCondition
v3 v4 3 3 A single condition is a tag of the following format: 4 4 5 {{{ [attribute<white space>value]}}}5 {{{(attribute<white space>value)}}} 6 6 7 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. 7 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. 8 8 9 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 ().9 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. 10 10 11 11 Example: 12 12 13 {{{ [lemma world]}}} -- will match input words having lemma ''world''.[[BR]]14 {{{ [word and|or|so]}}} -- will match input words ''and'' or ''or'' or ''so''.[[BR]]15 {{{ [tag k(123)c2]}}} -- will match any substantive, adjective or pronoun having second case.[[BR]]13 {{{(lemma world)}}} -- will match input words having lemma ''world''.[[BR]] 14 {{{(word and|or|so)}}} -- will match input words ''and'' or ''or'' or ''so''.[[BR]] 15 {{{(tag k[123]c2)}}} -- will match any substantive, adjective or pronoun having second case.[[BR]]