Changes between Version 3 and Version 4 of SingleCondition


Ignore:
Timestamp:
Jan 18, 2013, 2:06:11 PM (11 years ago)
Author:
Vojtěch Kovář
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SingleCondition

    v3 v4  
    33A single condition is a tag of the following format:
    44
    5 {{{[attribute<white space>value]}}}
     5{{{(attribute<white space>value)}}}
    66
    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. 
     7Note 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.
    88
    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 ().
     9A 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.
    1010
    1111Example:
    1212
    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]]