Difference between revisions of "RulesSet Add Rule"

From Anote2Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:HOWTOs]]
 
[[Category:HOWTOs]]
  
For manually adding a Rule  (syntactic rule) to a RuleSet object, the user right clicks 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.  
+
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, the user can:
+
 
 +
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.


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