-
Notifications
You must be signed in to change notification settings - Fork 6
config fastcontext
Jianlin Shi edited this page Aug 23, 2017
·
3 revisions
- \w+ represents any token, including a punctuation or a word (depends on whether the tokenizer tokenized punctuation or not)
- > followed by a number X, represents any number greater than X.
Each rule consists of 5 components: rule string, direction, trigger type, modifier value, window size.
- rule string: specify the context clue using tokens and wildcards above
- directions: specify how this rule will affect the target concept (forward, backward or both)
- modifier value: specify if the rule is match, what modifier value should be concluded.
- window size: specify the context window that the rule should be restrained to match.
- denied any forward trigger negated 10
This rule means if "denied any" is found left to a target concept within 10 tokens, then this concept will be sign a context value "negated."