RulesSet Add Rule

From Anote2Wiki
Jump to: navigation, search


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.


RuleSet Add Rule 1.png


An interface to create the rule is launched:


RuleSet Add Rule GUI.png


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).