Lines Matching refs:grammar
157 ESR_ReturnCode SR_RecognizerSetupRule(SR_Recognizer* self, SR_Grammar* grammar,
165 return self->setupRule(self, grammar, ruleName);
179 ESR_ReturnCode SR_RecognizerActivateRule(SR_Recognizer* self, SR_Grammar* grammar,
187 return self->activateRule(self, grammar, ruleName, weight);
190 ESR_ReturnCode SR_RecognizerDeactivateRule(SR_Recognizer* self, SR_Grammar* grammar,
198 return self->deactivateRule(self, grammar, ruleName);
211 ESR_ReturnCode SR_RecognizerIsActiveRule(SR_Recognizer* self, SR_Grammar* grammar,
219 return self->isActiveRule(self, grammar, ruleName, isActiveRule);
222 ESR_ReturnCode SR_RecognizerCheckGrammarConsistency(SR_Recognizer* self, SR_Grammar* grammar,
230 return self->checkGrammarConsistency(self, grammar, isConsistent);