Changes between Version 3 and Version 4 of NamedVariable
- Timestamp:
- Mar 17, 2009, 11:08:52 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NamedVariable
v3 v4 8 8 For a variable, only the first following valuation applies. This enables sharing same variable names across the rules.[[BR]] 9 9 A variable valuation can consist of several constraints listed each on a new line which are taken in conjunction (logical and).[[BR]] 10 Negative constraints can be created using the ''not'' [wiki:Keyword keyword].10 Negative constraints can be created using the ''not'' keyword. 11 11 12 12 Example: … … 15 15 {{{$NOTNO[word not]: no}}} -- will match any word except of ''no''. 16 16 17 Named variables can be also used for interconnecting tags. Imagine you want create a rule for matching a coordination consisting either of two substantives or two adjectives (but not mixed substantive and adjective). This can be easily done by using the MATCH [wiki:Keyword keyword]as shown on the following example:17 Named variables can be also used for interconnecting tags. Imagine you want create a rule for matching a coordination consisting either of two substantives or two adjectives (but not mixed substantive and adjective). This can be easily done by using the MATCH keyword as shown on the following example: 18 18 19 19 {{{