/external/srec/srec/Vocabulary/src/ |
VocabularyImpl.c | 40 #define LSTRDUP(src) LSTRCPY(CALLOC(LSTRLEN(src)+1, sizeof(LCHAR), "srec.Vocabulary.LSTRDUP"), (src)) 44 * Creates a new vocabulary but does not set the locale. 142 * Creates a new vocabulary but does not set the locale. 166 impl->vocabulary = NULL; 181 if (impl->vocabulary!=NULL) 183 CA_UnloadDictionary(impl->vocabulary); 184 CA_FreeVocabulary(impl->vocabulary); 185 impl->vocabulary = NULL; 196 LCHAR vocabulary[P_PATH_MAX]; local 199 impl->vocabulary = CA_AllocateVocabulary() [all...] |
/external/srec/srec/Grammar/include/ |
SR_GrammarImpl.h | 78 * Vocabulary. 80 SR_Vocabulary* vocabulary; member in struct:SR_GrammarImpl_t 122 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddRuleFromList(SR_Grammar* self, SR_Vocabulary* vocabulary, const LCHAR* name); 203 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary);
|
SR_Grammar.h | 126 * @return ESR_INVALID_ARGUMENT if self is null; ESR_INVALID_STATE if the vocabulary is missing, 150 * if the vocabulary is missing, if OSI logging fails; ESR_OUT_OF_MEMORY if word cannot be added to 212 * Configures a vocabulary with the grammar. 215 * @param vocabulary The vocabulary to associate with 216 * @return ESR_INVALID_ARGUMENT if self or vocabulary are null 218 ESR_ReturnCode(*setupVocabulary)(struct SR_Grammar_t *self, SR_Vocabulary *vocabulary); 334 * if the vocabulary is missing, if OSI logging fails; ESR_OUT_OF_MEMORY if word cannot be added to 357 * vocabulary is missing, if OSI logging fails; ESR_OUT_OF_MEMORY if word cannot be added to the 368 * - A Grammar object must use one and only one Vocabulary object [all...] |
/external/srec/srec/Vocabulary/include/ |
SR_VocabularyImpl.h | 36 * Vocabulary implementation. 45 * Legacy CREC vocabulary. 48 CA_Vocab* vocabulary; member in struct:SR_VocabularyImpl_t 50 * Vocabulary locale.
|
/external/srec/srec/Grammar/src/ |
SR_Grammar.c | 153 ESR_ReturnCode SR_GrammarSetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary) 160 return self->setupVocabulary(self, vocabulary);
|
SR_GrammarImpl.c | 65 impl->vocabulary = NULL; 206 if (impl->vocabulary == NULL) 218 vocab = (SR_Vocabulary*) impl->vocabulary; 528 rc = SR_VocabularyGetLanguage(impl->vocabulary, &locale); 633 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary) 637 if (vocabulary == NULL) 642 impl->vocabulary = vocabulary;
|
/frameworks/base/core/java/android/speech/srec/ |
Recognizer.java | 443 || ESR_SessionGetLCHAR ( L("cmdline.vocabulary"), filename, &flen ) 444 || SR_VocabularyLoad ( filename, &applicationData.vocabulary ) 445 || SR_VocabularyGetLanguage ( applicationData.vocabulary, &applicationData.locale ) 453 || SR_GrammarSetupVocabulary ( applicationData.grammars [0].grammar, applicationData.vocabulary ) 471 || SR_VocabularyDestroy ( applicationData.vocabulary ) 472 || (applicationData.vocabulary = NULL) 669 private static native void SR_GrammarSetupVocabulary(int grammar, int vocabulary); 705 private static native void SR_VocabularyDestroy(int vocabulary); 706 private static native String SR_VocabularyGetPronunciation(int vocabulary, String word);
|
/external/srec/srec_jni/ |
android_speech_srec_Recognizer.cpp | 376 (JNIEnv *env, jclass clazz, jint grammar, jint vocabulary) { 377 checkEsrError(env, SR_GrammarSetupVocabulary((SR_Grammar*)grammar, (SR_Vocabulary*)vocabulary)); 440 checkEsrError(env, ESR_SessionGetLCHAR ( L("cmdline.vocabulary"), filename, &flen )); 443 SR_Vocabulary* vocabulary = NULL; local 444 checkEsrError(env, SR_VocabularyLoad(filename, &vocabulary)); 445 return (jint)vocabulary; 449 (JNIEnv *env, jclass clazz, jint vocabulary) { 451 checkEsrError(env, SR_VocabularyDestroy((SR_Vocabulary*)vocabulary)); 455 (JNIEnv *env, jclass clazz, jint vocabulary, jstring word) { 459 ESR_ReturnCode esr_status = SR_VocabularyGetPronunciation((SR_Vocabulary*)vocabulary, wo, rtn, &rtnLength) [all...] |
/external/srec/srec/test/SRecTest/src/ |
SRecTest.c | 136 SR_Vocabulary *vocabulary; /* The current vocabulary. */ member in struct:ApplicationData_t 421 setup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary ); [all...] |
/external/srec/srec/test/SRecTestAudio/src/ |
SRecTestAudio.c | 135 SR_Vocabulary *vocabulary; /* The current vocabulary. */ member in struct:ApplicationData_t 419 setup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary ); [all...] |
/external/srec/config/en.us/ |
Android.mk | 57 # This needs an explicit rule to specify the vocabulary (dictionary)
|
/external/v8/test/mjsunit/ |
unicode-test.js | [all...] |
/cts/tools/signature-tools/lib/ |
antlr-2.7.7.jar | |
/prebuilt/common/groovy/ |
groovy-all-1.7.0.jar | |