Home
last modified time | relevance | path

Searched refs:recognizer (Results 1 – 21 of 21) sorted by relevance

/external/srec/srec/AcousticState/src/
DAcousticState.c25 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateReset(SR_Recognizer* recognizer) in SR_AcousticStateReset() argument
29 if (recognizer == NULL) in SR_AcousticStateReset()
34 impl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateReset()
36 return impl->acousticState->reset(recognizer); in SR_AcousticStateReset()
39 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* … in SR_AcousticStateLoad() argument
43 if (recognizer == NULL) in SR_AcousticStateLoad()
48 impl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateLoad()
50 return impl->acousticState->load(recognizer, filename); in SR_AcousticStateLoad()
53 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* … in SR_AcousticStateSave() argument
57 if (recognizer == NULL) in SR_AcousticStateSave()
[all …]
DAcousticStateImpl.c27 ESR_ReturnCode SR_AcousticStateCreateImpl(SR_Recognizer* recognizer) in SR_AcousticStateCreateImpl() argument
30 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateCreateImpl()
72 ESR_ReturnCode SR_AcousticStateDestroyImpl(SR_Recognizer* recognizer) in SR_AcousticStateDestroyImpl() argument
74 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateDestroyImpl()
81 ESR_ReturnCode SR_AcousticStateResetImpl(SR_Recognizer* recognizer) in SR_AcousticStateResetImpl() argument
83 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateResetImpl()
96 ESR_ReturnCode SR_AcousticStateSaveImpl(SR_Recognizer* recognizer, const LCHAR* filename) in SR_AcousticStateSaveImpl() argument
/external/srec/srec_jni/
Dandroid_speech_srec_Recognizer.cpp112 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerStart() argument
113 checkEsrError(env, SR_RecognizerStart((SR_Recognizer*)recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerStart()
117 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerStop() argument
118 checkEsrError(env, SR_RecognizerStop((SR_Recognizer*)recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerStop()
123 SR_Recognizer* recognizer = NULL; in Java_android_speech_srec_Recognizer_SR_1RecognizerCreate() local
125 checkEsrError(env, SR_RecognizerCreate(&recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerCreate()
126 return (jint)recognizer; in Java_android_speech_srec_Recognizer_SR_1RecognizerCreate()
130 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerDestroy() argument
131 checkEsrError(env, SR_RecognizerDestroy((SR_Recognizer*)recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerDestroy()
136 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerSetup() argument
[all …]
/external/srec/srec/AcousticState/include/
DSR_AcousticState.h56 ESR_ReturnCode(*reset)(SR_Recognizer* recognizer);
64 ESR_ReturnCode(*load)(SR_Recognizer* recognizer, const LCHAR* filename);
72 ESR_ReturnCode(*save)(SR_Recognizer* recognizer, const LCHAR* filename);
80 ESR_ReturnCode(*get)(SR_Recognizer* recognizer, LCHAR *param_string, size_t* len );
88 ESR_ReturnCode(*set)(SR_Recognizer* recognizer, const LCHAR *param_string );
95 ESR_ReturnCode(*destroy)(SR_Recognizer* recognizer);
121 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* …
129 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* …
148 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateReset(SR_Recognizer* recognizer);
149 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSet ( SR_Recognizer* recognizer, const LCHAR …
[all …]
DSR_AcousticStateImpl.h49 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateCreateImpl(SR_Recognizer* recognizer);
53 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateDestroyImpl(SR_Recognizer* recognizer);
57 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateResetImpl(SR_Recognizer* recognizer);
61 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoadImpl(SR_Recognizer* recognizer, const LCH…
65 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSaveImpl(SR_Recognizer* recognizer, const LCH…
69 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSetImpl(SR_Recognizer* recognizer, const LCHA…
73 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateGetImpl(SR_Recognizer* recognizer, LCHAR *par…
77 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateActivateModelImpl(SR_Recognizer* recognizer, …
81 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateDeactivateModelImpl(SR_Recognizer* recognizer
/external/srec/doc/logs/uapi/
Drun_robustness3.log17 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
20 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
43 after recognizer.createGrammar(/system/usr/srec/grammar3.g2g)
141 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
144 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
167 after recognizer.createGrammar(/system/usr/srec/grammar3.g2g)
265 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
268 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
291 after recognizer.createGrammar(/system/usr/srec/grammar3.g2g)
389 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
[all …]
Drun_contacts.log9 android.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/s…
10 android.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/sr…
Drun_robustness1.log9 android.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/s…
10 android.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/sr…
Drun_robustness2.log9 android.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/s…
10 android.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/sr…
Drun_voicetags1.log18 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/enroll.g2g)
104 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
/external/srec/srec/test/SRecTest/src/
DSRecTest.c134 SR_Recognizer *recognizer; /* The current recognizer. */ member
425 …setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); in SetupGrammarLoad()
452 …setup_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar,… in SetupGrammarActivate()
1011 …esr_status = SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [data->active_grammar_… in srec_test_free_context()
1115 … esr_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1132 … SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1216 esr_status = SR_RecognizerGetSize_tParameter ( data->recognizer, key, &value ); in srec_test_get_size_t_parameter()
1252 … esr_status = SR_RecognizerSetSize_tParameter ( data->recognizer, key, (size_t)value_as_number ); in srec_test_set_size_t_parameter()
1636 esr_status = SR_Recognizer_Change_Sample_Rate ( data->recognizer, rate_as_number ); in srec_test_change_sample_rate()
1669 esr_status = SR_AcousticStateSet ( data->recognizer, state_string ); in srec_test_set_acousticstate()
[all …]
/external/srec/srec/test/SRecTestAudio/src/
DSRecTestAudio.c133 SR_Recognizer *recognizer; /* The current recognizer. */ member
424 …setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); in SetupGrammarLoad()
452 …setup_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar,… in SetupGrammarActivate()
987 …esr_status = SR_RecognizerSetBoolParameter ( data->recognizer, L("enableGetWaveform"), ESR_FALSE ); in srec_test_free_context()
1001 …esr_status = SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [data->active_grammar_… in srec_test_free_context()
1105 … esr_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1111 … esr_status = SR_RecognizerSetBoolParameter ( data->recognizer, L("enableGetWaveform"), ESR_TRUE ); in srec_test_use_context()
1121 … SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1471 esr_status = SR_AcousticStateLoad ( data->recognizer, file_name ); in srec_test_load_acousticstate()
1494 esr_status = SR_AcousticStateReset ( data->recognizer ); in srec_test_reset_acousticstate()
[all …]
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c64 impl->recognizer = NULL; in SR_Grammar_Create()
199 impl->recognizer->getModels( impl->recognizer, &models); in SR_Grammar_AddWordToSlot()
596 ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer) in SR_Grammar_SetupRecognizer() argument
603 if (impl == NULL || recognizer == NULL) in SR_Grammar_SetupRecognizer()
608 impl->recognizer = recognizer; in SR_Grammar_SetupRecognizer()
609 recognizer->setWordAdditionCeiling( recognizer, self); in SR_Grammar_SetupRecognizer()
611 rc = recognizer->getModels( recognizer, &models); in SR_Grammar_SetupRecognizer()
613 impl->recognizer = NULL; in SR_Grammar_SetupRecognizer()
628 impl->recognizer = NULL; in SR_Grammar_UnsetupRecognizer()
DSR_Grammar.c133 ESR_ReturnCode SR_GrammarSetupRecognizer(SR_Grammar* self, struct SR_Recognizer_t* recognizer) in SR_GrammarSetupRecognizer() argument
141 return self->setupRecognizer(self, recognizer); in SR_GrammarSetupRecognizer()
/external/srec/srec/Grammar/include/
DSR_GrammarImpl.h59 ESR_ReturnCode(*setupRecognizer)(SR_Grammar* self, SR_Recognizer* recognizer);
75 SR_Recognizer* recognizer; member
195 …GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer);
DSR_Grammar.h228 ESR_ReturnCode(*setupRecognizer)(struct SR_Grammar_t* self, struct SR_Recognizer_t* recognizer);
394 …API ESR_ReturnCode SR_GrammarSetupRecognizer(SR_Grammar* self, struct SR_Recognizer_t* recognizer);
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c673 impl->recognizer = NULL; in SR_RecognizerCreate()
744 impl->recognizer = CA_AllocateRecognition(); in SR_RecognizerCreate()
745 if (impl->recognizer == NULL) in SR_RecognizerCreate()
750 CA_ConfigureRecognition(impl->recognizer, recogParams); in SR_RecognizerCreate()
864 if (impl->recognizer != NULL) in SR_RecognizerDestroyImpl()
866 CA_UnloadRecognitionModels(impl->recognizer); in SR_RecognizerDestroyImpl()
867 CA_UnconfigureRecognition(impl->recognizer); in SR_RecognizerDestroyImpl()
868 CA_FreeRecognition(impl->recognizer); in SR_RecognizerDestroyImpl()
869 impl->recognizer = NULL; in SR_RecognizerDestroyImpl()
947 CA_BeginRecognition(impl->recognizer, NULL, 1, recogParams); in beginRecognizing()
[all …]
DRecognizer.c445 ESR_ReturnCode SR_Recognizer_Change_Sample_Rate ( SR_Recognizer *recognizer, size_t new_sample_rate… in SR_Recognizer_Change_Sample_Rate() argument
449 if ( recognizer != NULL ) in SR_Recognizer_Change_Sample_Rate()
451 change_status = SR_Recognizer_Change_Sample_RateImpl ( recognizer, new_sample_rate ); in SR_Recognizer_Change_Sample_Rate()
/external/srec/srec/AcousticModels/include/
DSR_AcousticModelsImpl.h52 ESR_ReturnCode(*setupPattern)(SR_AcousticModels* self, SR_Recognizer* recognizer);
146 ESR_ReturnCode SR_AcousticModels_SetupPattern(SR_AcousticModels* self, SR_Recognizer* recognizer);
/external/srec/srec/AcousticModels/src/
DAcousticModelsImpl.c581 SR_Recognizer* recognizer) in SR_AcousticModels_SetupPattern() argument
594 if (recognizer == NULL) in SR_AcousticModels_SetupPattern()
599 recog = (SR_RecognizerImpl*) recognizer; in SR_AcousticModels_SetupPattern()
/external/srec/srec/Recognizer/include/
DSR_RecognizerImpl.h191 CA_Recog* recognizer; member