Difference between revisions of "RulesSet Add Rule"
From Anote2Wiki
Anote2Wiki (talk | contribs) |
Anote2Wiki (talk | contribs) |
||
Line 1: | Line 1: | ||
[[Category:HOWTOs]] | [[Category:HOWTOs]] | ||
− | + | To manually add a Rule (syntactic rule) to a RuleSet object, right click over the respective object in the clipboard, selecting the option '''Resources -> RuleSet-> Add Rule''' (or, alternatively, pressing the button '''Add Rule" in the RuleSet View on the right hand side of the screen. | |
+ | |||
[[File:RuleSet_Add_Rule_1.png|1500px|center]] | [[File:RuleSet_Add_Rule_1.png|1500px|center]] | ||
+ | |||
An interface to create the rule is launched: | An interface to create the rule is launched: | ||
+ | |||
[[File:RuleSet_Add_Rule_GUI.png|center]] | [[File:RuleSet_Add_Rule_GUI.png|center]] | ||
− | Here, | + | |
+ | Here, you can: | ||
* Write the syntactic rule based in a Regular Expression, either using the set of buttons with the pre-defined symbols (enriched tab) or just writing the expression in free text; | * Write the syntactic rule based in a Regular Expression, either using the set of buttons with the pre-defined symbols (enriched tab) or just writing the expression in free text; | ||
* Select class where the rule will be applied; | * Select class where the rule will be applied; | ||
* Test the result of the rule with examples in the bottom panel (putting the examples in the left box and checking the result in the right). | * Test the result of the rule with examples in the bottom panel (putting the examples in the left box and checking the result in the right). |
Revision as of 22:44, 16 January 2013
To manually add a Rule (syntactic rule) to a RuleSet object, right click over the respective object in the clipboard, selecting the option Resources -> RuleSet-> Add Rule (or, alternatively, pressing the button Add Rule" in the RuleSet View on the right hand side of the screen.
An interface to create the rule is launched:
Here, you can:
- Write the syntactic rule based in a Regular Expression, either using the set of buttons with the pre-defined symbols (enriched tab) or just writing the expression in free text;
- Select class where the rule will be applied;
- Test the result of the rule with examples in the bottom panel (putting the examples in the left box and checking the result in the right).