Reference

Class

RiGrammar

Name

removeRule

Description Deletes the named rule from the grammar
Syntax
removeRule(name);
Parameters
Stringthe rule name
Returns
RiGrammarthis RiGrammar
Example
rg = new RiGrammar(); 
rg.addRule("<pet>", "dog | hawk | crow", 1);
rg.removeRule("<pet>");
Platform Java / Javascript