Searched defs:vocabulary (Results 1 - 11 of 11) sorted by relevance

/external/srec/srec/Vocabulary/include/
H A DSR_VocabularyImpl.h45 * Legacy CREC vocabulary.
48 CA_Vocab* vocabulary; member in struct:SR_VocabularyImpl_t
/external/srec/srec/Grammar/include/
H A DSR_GrammarImpl.h80 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);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DIntervalSet.java210 * return a new set containing all elements in vocabulary, but not in
211 * this. The computation is (vocabulary - this).
213 * 'this' is assumed to be either a subset or equal to vocabulary.
215 public IntSet complement(IntSet vocabulary) { argument
216 if ( vocabulary==null ) {
219 if ( !(vocabulary instanceof IntervalSet ) ) {
221 vocabulary.getClass().getName()+")");
223 IntervalSet vocabularyIS = ((IntervalSet)vocabulary);
H A DBitSet.java502 * ith element of vocabulary is displayed instead. Vocabulary is a Vector
507 public String toString(String separator, List vocabulary) { argument
508 if (vocabulary == null) {
517 if (i >= vocabulary.size()) {
520 else if (vocabulary.get(i) == null) {
524 str += (String)vocabulary.get(i);
/external/srec/srec/Grammar/src/
H A DSR_Grammar.c153 ESR_ReturnCode SR_GrammarSetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary) argument
160 return self->setupVocabulary(self, vocabulary);
H A DSR_GrammarImpl.c65 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) argument
637 if (vocabulary == NULL)
642 impl->vocabulary = vocabulary;
/external/srec/srec/Vocabulary/src/
H A DVocabularyImpl.c44 * 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();
200 if (impl->vocabulary
[all...]
/external/srec/srec_jni/
H A Dandroid_speech_srec_Recognizer.cpp376 (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, w
375 Java_android_speech_srec_Recognizer_SR_1GrammarSetupVocabulary(JNIEnv *env, jclass clazz, jint grammar, jint vocabulary) argument
448 Java_android_speech_srec_Recognizer_SR_1VocabularyDestroy(JNIEnv *env, jclass clazz, jint vocabulary) argument
454 Java_android_speech_srec_Recognizer_SR_1VocabularyGetPronunciation(JNIEnv *env, jclass clazz, jint vocabulary, jstring word) argument
[all...]
/external/srec/srec/test/SRecTest/src/
H A DSRecTest.c136 SR_Vocabulary *vocabulary; /* The current vocabulary. */ member in struct:ApplicationData_t
421 setup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary );
3267 if (applicationData->vocabulary != NULL)
3270 /* SR_VocabularyDestroy(applicationData->vocabulary);
3271 applicationData->vocabulary = NULL;*/
3324 applicationData->vocabulary = NULL;
3400 SR_VocabularyDestroy ( applicationData->vocabulary );
3401 applicationData->vocabulary = NULL;
3416 /* Create vocabulary objec
[all...]
/external/srec/srec/test/SRecTestAudio/src/
H A DSRecTestAudio.c135 SR_Vocabulary *vocabulary; /* The current vocabulary. */ member in struct:ApplicationData_t
419 setup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary );
2882 if (applicationData->vocabulary != NULL)
2885 /* SR_VocabularyDestroy(applicationData->vocabulary);
2886 applicationData->vocabulary = NULL;*/
2941 applicationData->vocabulary = NULL;
3017 SR_VocabularyDestroy ( applicationData->vocabulary );
3018 applicationData->vocabulary = NULL;
3033 /* Create vocabulary objec
[all...]
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...

Completed in 171 milliseconds