Home › Forums › OpenEars › On the fly additions to RuleOrama › Reply To: On the fly additions to RuleOrama
May 30, 2014 at 3:45 pm
#1021445
Halle Winkler
Politepix
Right, writing grammars on the fly is how RuleORama works by default, no need to have it as a constant. Here is an explanation of how the dynamic grammar language works so you can create new NSDictionaries to hand off to it as needed:
https://www.politepix.com/2014/04/10/openears-1-7-introducing-dynamic-grammar-generation/
RuleORama is only slightly different from the format described there (and in the docs) in that it needs to disregard the rule types that have repetitions for performance reasons.