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 RuleSet the user must press '''right mouse  button''' in RuleSet data-type and select '''Resources -> RuleSet-> Add Rule''' or select button add Rule in RuleSet View  
+
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.
  
 
[[File:RuleSet_Add_Rule_1.png|1500px|center]]
 
[[File:RuleSet_Add_Rule_1.png|1500px|center]]
  
After appears Rule Created GUI :
+
An interface to create the rule is launched:
  
 
[[File:RuleSet_Add_Rule_GUI.png|center]]
 
[[File:RuleSet_Add_Rule_GUI.png|center]]
  
* White syntactic rule based in Regular Expression
+
Here, the user can:
* Select class for matching rule
+
* 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;
* Test the result of rule created
+
* 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).

Revision as of 19:34, 9 January 2013


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.

RuleSet Add Rule 1.png

An interface to create the rule is launched:

RuleSet Add Rule GUI.png

Here, the user 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).