/external/srec/srec/Grammar/include/ |
D | SR_GrammarImpl.h | 50 SR_Grammar Interface; 59 ESR_ReturnCode(*setupRecognizer)(SR_Grammar* self, SR_Recognizer* recognizer); 65 ESR_ReturnCode(*unsetupRecognizer)(SR_Grammar* self); 118 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_CompileRule(SR_Grammar* self, const LCHAR* name); 122 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddRuleFromList(SR_Grammar* self, SR_Vocabulary* vocabul… 126 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_Compile(SR_Grammar* self); 130 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddRule(SR_Grammar* self, const LCHAR* name, const LCHAR… 134 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_DeleteRule(SR_Grammar* self, const LCHAR* name); 138 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_ContainsRule(SR_Grammar* self, const LCHAR* name, ESR_BO… 142 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddWordToSlot(SR_Grammar* self, const LCHAR* slot, [all …]
|
D | SR_Grammar.h | 254 SR_Grammar; typedef 310 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarCompile(SR_Grammar* self); 337 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarAddWordToSlot(SR_Grammar* self, const LCHAR* slot, 347 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarResetAllSlots(SR_Grammar* self); 360 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarAddNametagToSlot(SR_Grammar* self, const LCHAR* slot, 385 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarSetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabula… 394 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarSetupRecognizer(SR_Grammar* self, struct SR_Recognizer_t*… 401 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarUnsetupRecognizer(SR_Grammar* self); 424 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarCreate(SR_Grammar** self); 431 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarDestroy(SR_Grammar* self); [all …]
|
/external/srec/srec/Grammar/src/ |
D | SR_Grammar.c | 28 ESR_ReturnCode SR_GrammarCompile(SR_Grammar* self) in SR_GrammarCompile() 38 ESR_ReturnCode SR_GrammarAddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word, in SR_GrammarAddWordToSlot() 51 ESR_ReturnCode SR_GrammarResetAllSlots(SR_Grammar* self) in SR_GrammarResetAllSlots() 61 ESR_ReturnCode SR_GrammarAddNametagToSlot(SR_Grammar* self, const LCHAR* slot, in SR_GrammarAddNametagToSlot() 72 ESR_ReturnCode SR_GrammarSetDispatchFunction(SR_Grammar* self, const LCHAR* name, void* userData, S… in SR_GrammarSetDispatchFunction() 82 ESR_ReturnCode SR_GrammarSave(SR_Grammar* self, const LCHAR* filename) in SR_GrammarSave() 92 ESR_ReturnCode SR_GrammarSetParameter(SR_Grammar* self, const LCHAR* key, void* value) in SR_GrammarSetParameter() 102 ESR_ReturnCode SR_GrammarSetSize_tParameter(SR_Grammar* self, const LCHAR* key, size_t value) in SR_GrammarSetSize_tParameter() 112 ESR_ReturnCode SR_GrammarGetParameter(SR_Grammar* self, const LCHAR* key, void** value) in SR_GrammarGetParameter() 122 ESR_ReturnCode SR_GrammarGetSize_tParameter(SR_Grammar* self, const LCHAR* key, size_t* value) in SR_GrammarGetSize_tParameter() [all …]
|
D | SR_GrammarImpl.c | 35 ESR_ReturnCode SR_Grammar_Create(SR_Grammar** self) in SR_Grammar_Create() 108 *self = (SR_Grammar*) impl; in SR_Grammar_Create() 115 ESR_ReturnCode SR_GrammarCreate(SR_Grammar** self) in SR_GrammarCreate() 130 ESR_ReturnCode SR_Grammar_Compile(SR_Grammar* self) in SR_Grammar_Compile() 149 ESR_ReturnCode SR_Grammar_AddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word, in SR_Grammar_AddWordToSlot() 301 ESR_ReturnCode SR_Grammar_ResetAllSlots(SR_Grammar* self) in SR_Grammar_ResetAllSlots() 328 ESR_ReturnCode SR_Grammar_AddNametagToSlot(SR_Grammar* self, const LCHAR* slot, in SR_Grammar_AddNametagToSlot() 340 ESR_ReturnCode SR_Grammar_SetDispatchFunction(SR_Grammar* self, const LCHAR* functionName, void* us… in SR_Grammar_SetDispatchFunction() 352 ESR_ReturnCode SR_GrammarLoad(const LCHAR* grammar, SR_Grammar** self) in SR_GrammarLoad() 354 SR_Grammar* Interface = NULL; in SR_GrammarLoad() [all …]
|
/external/srec/srec_jni/ |
D | android_speech_srec_Recognizer.cpp | 193 … checkEsrError(env, SR_RecognizerSetupRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn)); in Java_android_speech_srec_Recognizer_SR_1RecognizerSetupRule() 207 …checkEsrError(env, SR_RecognizerActivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn,… in Java_android_speech_srec_Recognizer_SR_1RecognizerActivateRule() 214 …checkEsrError(env, SR_RecognizerDeactivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, r… in Java_android_speech_srec_Recognizer_SR_1RecognizerDeactivateRule() 227 …checkEsrError(env, SR_RecognizerIsActiveRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn,… in Java_android_speech_srec_Recognizer_SR_1RecognizerIsActiveRule() 235 …checkEsrError(env, SR_RecognizerCheckGrammarConsistency((SR_Recognizer*)recognizer, (SR_Grammar*)g… in Java_android_speech_srec_Recognizer_SR_1RecognizerCheckGrammarConsistency() 349 checkEsrError(env, SR_GrammarCompile((SR_Grammar*)grammar)); in Java_android_speech_srec_Recognizer_SR_1GrammarCompile() 362 checkEsrError(env, SR_GrammarAddWordToSlot((SR_Grammar*)grammar, sl, wo, pr, weight, ta)); in Java_android_speech_srec_Recognizer_SR_1GrammarAddWordToSlot() 372 checkEsrError(env, SR_GrammarResetAllSlots((SR_Grammar*)grammar)); in Java_android_speech_srec_Recognizer_SR_1GrammarResetAllSlots() 377 checkEsrError(env, SR_GrammarSetupVocabulary((SR_Grammar*)grammar, (SR_Vocabulary*)vocabulary)); in Java_android_speech_srec_Recognizer_SR_1GrammarSetupVocabulary() 382 checkEsrError(env, SR_GrammarSetupRecognizer((SR_Grammar*)grammar, (SR_Recognizer*)recognizer)); in Java_android_speech_srec_Recognizer_SR_1GrammarSetupRecognizer() [all …]
|
/external/srec/srec/Recognizer/include/ |
D | SR_RecognizerImpl.h | 354 SR_Grammar* grammar; 426 SR_Grammar* grammar, 433 SR_Grammar* grammar, 445 SR_Grammar* grammar, 452 SR_Grammar* grammar); 457 SR_Grammar* grammar,
|
/external/srec/srec/Recognizer/src/ |
D | Recognizer.c | 157 ESR_ReturnCode SR_RecognizerSetupRule(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerSetupRule() 179 ESR_ReturnCode SR_RecognizerActivateRule(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerActivateRule() 190 ESR_ReturnCode SR_RecognizerDeactivateRule(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerDeactivateRule() 211 ESR_ReturnCode SR_RecognizerIsActiveRule(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerIsActiveRule() 222 ESR_ReturnCode SR_RecognizerCheckGrammarConsistency(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerCheckGrammarConsistency()
|
D | RecognizerImpl.c | 1545 ESR_ReturnCode SR_RecognizerActivateRuleImpl(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerActivateRuleImpl() 1633 ESR_ReturnCode SR_RecognizerDeactivateRuleImpl(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerDeactivateRuleImpl() 1666 ESR_ReturnCode SR_RecognizerIsActiveRuleImpl(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerIsActiveRuleImpl() 1680 ESR_ReturnCode SR_RecognizerSetWordAdditionCeilingImpl(SR_Recognizer* self, SR_Grammar* grammar) in SR_RecognizerSetWordAdditionCeilingImpl() 1694 ESR_ReturnCode SR_RecognizerCheckGrammarConsistencyImpl(SR_Recognizer* self, SR_Grammar* grammar, in SR_RecognizerCheckGrammarConsistencyImpl() 2170 CHKLOG(rc, SR_GrammarGetSize_tParameter((SR_Grammar*) pgrammar, L("locale"), &locale)); in SR_RecognizerCreateResultImpl()
|
/external/srec/tools/parseStringTest/ |
D | parseStringTest.c | 50 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout); 51 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile… 104 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout, Opts* opts) in Parse() 211 ESR_ReturnCode ParseTestSet(SR_Grammar* grammar, LCHAR* trans, LCHAR* key, LCHAR* ref, LCHAR* resul… in ParseTestSet() 277 SR_Grammar* grammar = NULL; in main() 448 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout) in process_single_key_line() 536 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile… in process_multi_key_line()
|
/external/srec/srec/test/SRecTest/src/ |
D | SRecTest.c | 123 SR_Grammar* grammar; /* grammar. */ 167 static int srec_test_recognize_nist_file ( SR_Grammar *active_grammar, ApplicationData *data, … 169 static int srec_test_recognize_pcm_file ( SR_Grammar *active_grammar, ApplicationData *data, F… 281 static void srec_test_get_active_grammar ( ApplicationData *data, SR_Grammar **active_grammar ) in srec_test_get_active_grammar() 459 ESR_ReturnCode srec_test_parse (SR_Grammar *grammar, const LCHAR* trans, LCHAR* meaning, size_t *le… 768 int srec_test_reset_slots ( SR_Grammar *active_grammar ) in srec_test_reset_slots() 794 int srec_test_add_word ( SR_Grammar *active_grammar, LCHAR *command_text ) in srec_test_add_word() 854 int srec_test_compile_active_context ( SR_Grammar *active_grammar ) in srec_test_compile_active_context() 974 int srec_test_free_context ( SR_Grammar *active_grammar, ApplicationData *data, LCHAR *command_text… in srec_test_free_context() 1095 int srec_test_use_context ( SR_Grammar *active_grammar, ApplicationData *data, LCHAR *command_text ) in srec_test_use_context() [all …]
|
/external/srec/srec/test/SRecTestAudio/src/ |
D | SRecTestAudio.c | 122 SR_Grammar* grammar; /* grammar. */ 167 static int srec_test_recognize_live ( SR_Grammar *active_grammar, ApplicationData *data, AUDIO… 279 static void srec_test_get_active_grammar ( ApplicationData *data, SR_Grammar **active_grammar ) in srec_test_get_active_grammar() 459 ESR_ReturnCode srec_test_parse (SR_Grammar *grammar, const LCHAR* trans, LCHAR* meaning, size_t *le… 761 int srec_test_reset_slots ( SR_Grammar *active_grammar ) in srec_test_reset_slots() 787 int srec_test_add_word ( SR_Grammar *active_grammar, LCHAR *command_text ) in srec_test_add_word() 846 int srec_test_compile_active_context ( SR_Grammar *active_grammar ) in srec_test_compile_active_context() 965 int srec_test_free_context ( SR_Grammar *active_grammar, ApplicationData *data, LCHAR *command_text… in srec_test_free_context() 1085 int srec_test_use_context ( SR_Grammar *active_grammar, ApplicationData *data, LCHAR *command_text ) in srec_test_use_context() 1158 int srec_test_save_context ( SR_Grammar *active_grammar, LCHAR *command_text ) in srec_test_save_context() [all …]
|
/external/srec/tools/test_g2g/ |
D | test_g2g.c | 72 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout); 190 SR_Grammar* grammar = NULL; in CheckG2G() 439 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout) in Parse()
|
/external/srec/srec/Grammar/ |
D | Android.mk | 10 src/SR_Grammar.c \
|
/external/srec/tools/make_g2g/ |
D | make_g2g.c | 47 SR_Grammar* grammar = NULL; in main()
|