/external/srec/srec/AcousticState/src/ |
AcousticState.c | 25 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateReset(SR_Recognizer* recognizer) 29 if (recognizer == NULL) 34 impl = (SR_RecognizerImpl*) recognizer; 36 return impl->acousticState->reset(recognizer); 39 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* filename) 43 if (recognizer == NULL) 48 impl = (SR_RecognizerImpl*) recognizer; 50 return impl->acousticState->load(recognizer, filename); 53 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* filename) 57 if (recognizer == NULL [all...] |
AcousticStateImpl.c | 27 ESR_ReturnCode SR_AcousticStateCreateImpl(SR_Recognizer* recognizer) 30 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; 72 ESR_ReturnCode SR_AcousticStateDestroyImpl(SR_Recognizer* recognizer) 74 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; 81 ESR_ReturnCode SR_AcousticStateResetImpl(SR_Recognizer* recognizer) 83 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; 96 ESR_ReturnCode SR_AcousticStateSaveImpl(SR_Recognizer* recognizer, const LCHAR* filename)
|
/external/srec/srec/AcousticState/include/ |
SR_AcousticState.h | 48 * The recognizer adapts to the acoustic state of the caller and calling environment 53 * @param recognizer SR_Recognizer handle 54 * @return ESR_INVALID_ARGUMENT if recognizer is null 56 ESR_ReturnCode(*reset)(SR_Recognizer* recognizer); 60 * @param recognizer SR_Recognizer handle 62 * @return ESR_INVALID_ARGUMENT if recognizer is null 64 ESR_ReturnCode(*load)(SR_Recognizer* recognizer, const LCHAR* filename); 68 * @param recognizer SR_Recognizer handle 70 * @return ESR_INVALID_ARGUMENT if recognizer is null 72 ESR_ReturnCode(*save)(SR_Recognizer* recognizer, const LCHAR* filename) [all...] |
SR_AcousticStateImpl.h | 49 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 LCHAR* filename); 65 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSaveImpl(SR_Recognizer* recognizer, const LCHAR* filename); 69 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSetImpl(SR_Recognizer* recognizer, const LCHAR *param_string ); 73 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateGetImpl(SR_Recognizer* recognizer, LCHAR *param_string, size_t* len ); 77 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateActivateModelImpl(SR_Recognizer* recognizer, SR_AcousticModelID id); 81 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateDeactivateModelImpl(SR_Recognizer* recognizer, SR_AcousticModelID id);
|
/frameworks/base/core/java/android/speech/srec/ |
Recognizer.java | 3 * Recognizer.java 33 * Simple, synchronous speech recognizer, using the Nuance SREC package. 37 * <li>Create a <code>Recognizer</code>. 38 * <li>Create a <code>Recognizer.Grammar</code>. 39 * <li>Setup the <code>Recognizer.Grammar</code>. 40 * <li>Reset the <code>Recognizer.Grammar</code> slots, if needed. 41 * <li>Fill the <code>Recognizer.Grammar</code> slots, if needed. 42 * <li>Compile the <code>Recognizer.Grammar</code>, if needed. 43 * <li>Save the filled <code>Recognizer.Grammar</code>, if needed. 44 * <li>Start the <code>Recognizer</code> [all...] |
/external/srec/srec_jni/ |
android_speech_srec_Recognizer.cpp | 112 (JNIEnv *env, jclass clazz, jint recognizer) { 113 checkEsrError(env, SR_RecognizerStart((SR_Recognizer*)recognizer)); 117 (JNIEnv *env, jclass clazz, jint recognizer) { 118 checkEsrError(env, SR_RecognizerStop((SR_Recognizer*)recognizer)); 123 SR_Recognizer* recognizer = NULL; local 124 // TODO: do we need to clean up the recognizer if this fails? 125 checkEsrError(env, SR_RecognizerCreate(&recognizer)); 126 return (jint)recognizer; 130 (JNIEnv *env, jclass clazz, jint recognizer) { 131 checkEsrError(env, SR_RecognizerDestroy((SR_Recognizer*)recognizer)); [all...] |
/external/srec/srec/AcousticModels/include/ |
SR_AcousticModelsImpl.h | 46 * When AcousticModels are associated with a Recognizer, they initialize their 47 * Pattern objects using that Recognizer. 50 * @param recognizer The recognizer 52 ESR_ReturnCode(*setupPattern)(SR_AcousticModels* self, SR_Recognizer* recognizer); 54 * When AcousticModels are deassociated with a Recognizer, they deinitialize their 140 * When AcousticModels are associated with a Recognizer, they initialize their 141 * Pattern objects using that Recognizer. 144 * @param recognizer The recognizer [all...] |
/external/srec/srec/Grammar/include/ |
SR_GrammarImpl.h | 53 * Associates a grammar with a Recognizer. 56 * @param recognizer The recognizer 59 ESR_ReturnCode(*setupRecognizer)(SR_Grammar* self, SR_Recognizer* recognizer); 61 * Dissociates a grammar from a Recognizer. 72 * Recognizer associated with SR_Grammar. 75 SR_Recognizer* recognizer; member in struct:SR_GrammarImpl_t 195 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer);
|
SR_Grammar.h | 221 * Associates Recognizer with the grammar. 224 * @param recognizer The recognizer to associate 225 * @return ESR_INVALID_ARGUMENT if self or recognizer are null 228 ESR_ReturnCode(*setupRecognizer)(struct SR_Grammar_t* self, struct SR_Recognizer_t* recognizer); 230 * Dissociates Recognizer with the grammar. 266 * IMPORTANT NOTE: There are two main approaches to grammar activation in a recognizer. 268 * an image of the actual model components network that fully describes the recognizer 277 * be done prior to grammar rule activation in the Recognizer 282 * recognition it must be compiled (or loaded), setup by a recognizer and activated [all...] |
/external/antlr/src/org/antlr/runtime/ |
DFA.java | 52 /** Which recognizer encloses this DFA? Needed to check backtracking */ 53 protected BaseRecognizer recognizer; field in class:DFA 154 if (recognizer.state.backtracking>0) { 155 recognizer.state.failed=true;
|
/external/antlr/src/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 55 protected BaseRecognizer recognizer; field in class:DebugEventSocketProxy 57 /** Almost certainly the recognizer will have adaptor set, but 63 public DebugEventSocketProxy(BaseRecognizer recognizer, TreeAdaptor adaptor) { 64 this(recognizer, DEFAULT_DEBUGGER_PORT, adaptor); 67 public DebugEventSocketProxy(BaseRecognizer recognizer, int port, TreeAdaptor adaptor) { 68 this.grammarFileName = recognizer.getGrammarFileName();
|
/external/chromium/chrome/browser/speech/ |
speech_input_manager.cc | 133 scoped_refptr<SpeechRecognizer> recognizer; member in struct:speech_input::__anon2956::SpeechInputManagerImpl::SpeechInputRequest 229 request->recognizer = new SpeechRecognizer( 250 requests_[caller_id].recognizer->StartRecording(); 258 requests_[caller_id].recognizer->CancelRecognition(); 281 requests_[caller_id].recognizer->StopRecording();
|
/external/srec/srec/test/SRecTest/src/ |
SRecTest.c | 134 SR_Recognizer *recognizer; /* The current recognizer. */ member in struct:ApplicationData_t 425 setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); 452 setup_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar, data->grammars [grammar_num].ruleName, 1 ); 757 * @param recognizer The recognizer [all...] |
/external/srec/srec/test/SRecTestAudio/src/ |
SRecTestAudio.c | 133 SR_Recognizer *recognizer; /* The current recognizer. */ member in struct:ApplicationData_t 424 setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); 452 setup_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar, data->grammars [grammar_num].ruleName, 1 ); 750 * @param recognizer The recognizer [all...] |
/external/srec/srec/Grammar/src/ |
SR_GrammarImpl.c | 64 impl->recognizer = NULL; 100 rc = ESR_SessionGetSize_t(L("SREC.Recognizer.osi_log_level"), &impl->logLevel); 199 impl->recognizer->getModels( impl->recognizer, &models); 596 ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer) 603 if (impl == NULL || recognizer == NULL) 608 impl->recognizer = recognizer; 609 recognizer->setWordAdditionCeiling( recognizer, self) [all...] |
SR_Grammar.c | 133 ESR_ReturnCode SR_GrammarSetupRecognizer(SR_Grammar* self, struct SR_Recognizer_t* recognizer) 141 return self->setupRecognizer(self, recognizer);
|
/external/srec/srec/Recognizer/src/ |
Recognizer.c | 2 * Recognizer.c * 36 PLogMessage ( "Entering Recognizer Start\n" ); 49 PLogMessage ( "Entering Recognizer Stop\n" ); 257 PLogMessage ( "Entering Recognizer Put Audio %d Times\n", counter ); 278 PLogMessage ( "Entering Recognizer Advance %d Times\n", counter ); 445 ESR_ReturnCode SR_Recognizer_Change_Sample_Rate ( SR_Recognizer *recognizer, size_t new_sample_rate ) 449 if ( recognizer != NULL ) 451 change_status = SR_Recognizer_Change_Sample_RateImpl ( recognizer, new_sample_rate );
|
RecognizerImpl.c | 62 * Initializes recognizer properties to default values. 72 /* CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_acoustic_models", 2)); */ 73 CHKLOG(rc, ESR_SessionSetBoolIfEmpty("CREC.Recognizer.partial_results", ESR_FALSE)); 74 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.NBest", 1)); 75 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.eou_threshold", 100)); 76 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_altword_tokens", 400)); 77 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_frames", 1000)); 78 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsm_arcs", 3000)); 79 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsm_nodes", 3000)); 80 CHKLOG(rc, ESR_SessionSetIntIfEmpty("CREC.Recognizer.max_fsmnode_tokens", 1000)) [all...] |
/external/srec/srec/AcousticModels/src/ |
AcousticModelsImpl.c | 233 rc = ESR_SessionGetSize_t(L("SREC.Recognizer.osi_log_level"), &osi_log_level); 574 * When AcousticModels are associated with a Recognizer, they initialize their 575 * Pattern objects using that Recognizer. 578 * @param recognizer The recognizer 581 SR_Recognizer* recognizer) 594 if (recognizer == NULL) 599 recog = (SR_RecognizerImpl*) recognizer; 649 * When AcousticModels are deassociated with a Recognizer, they deinitialize their
|
/external/doclava/src/com/google/doclava/parser/ |
JavaParser.java | [all...] |
JavaLexer.java | [all...] |
/external/srec/srec/Recognizer/include/ |
SR_RecognizerImpl.h | 42 * Recognizer timings to be written to OSI logs 163 * Speech recognizer. 189 * Legacy CREC recognizer. 191 CA_Recog* recognizer; member in struct:SR_RecognizerImpl_t 193 * AcousticModels associated with Recognizer. 197 * Active Recognizer grammars. 205 * Recognizer parameters. 209 * AcousticState associated with Recognizer. 225 * Internal recognizer state. 245 * Recognizer sample rate [all...] |
/prebuilt/common/jython/ |
jython.jar | |