Home
last modified time | relevance | path

Searched refs:vocabulary (Results 1 – 25 of 28) sorted by relevance

12

/external/srec/srec/Vocabulary/src/
DVocabularyImpl.c166 impl->vocabulary = NULL; in SR_VocabularyCreateImpl()
181 if (impl->vocabulary!=NULL) in SR_VocabularyDestroyImpl()
183 CA_UnloadDictionary(impl->vocabulary); in SR_VocabularyDestroyImpl()
184 CA_FreeVocabulary(impl->vocabulary); in SR_VocabularyDestroyImpl()
185 impl->vocabulary = NULL; in SR_VocabularyDestroyImpl()
196 LCHAR vocabulary[P_PATH_MAX]; in sr_vocabularyloadimpl_for_real() local
199 impl->vocabulary = CA_AllocateVocabulary(); in sr_vocabularyloadimpl_for_real()
200 if (impl->vocabulary==NULL) in sr_vocabularyloadimpl_for_real()
211 LSTRCPY(vocabulary, impl->filename); in sr_vocabularyloadimpl_for_real()
213 CHKLOG(rc, ESR_SessionPrefixWithBaseDirectory(vocabulary, &len)); in sr_vocabularyloadimpl_for_real()
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestIntervalSet.java101 IntervalSet vocabulary = IntervalSet.of(1,1000); in testNotSingleElement() local
102 vocabulary.add(2000,3000); in testNotSingleElement()
105 String result = (s.complement(vocabulary)).toString(); in testNotSingleElement()
110 IntervalSet vocabulary = IntervalSet.of(1,1000); in testNotSet() local
115 String result = (s.complement(vocabulary)).toString(); in testNotSet()
120 IntervalSet vocabulary = IntervalSet.of(1,1000); in testNotEqualSet() local
123 String result = (s.complement(vocabulary)).toString(); in testNotEqualSet()
128 IntervalSet vocabulary = IntervalSet.of(1,2); in testNotSetEdgeElement() local
131 String result = (s.complement(vocabulary)).toString(); in testNotSetEdgeElement()
136 IntervalSet vocabulary = IntervalSet.of(1,255); in testNotSetFragmentedVocabulary() local
[all …]
/external/srec/srec/Grammar/include/
DSR_GrammarImpl.h80 SR_Vocabulary* vocabulary; member
122 …ReturnCode SR_Grammar_AddRuleFromList(SR_Grammar* self, SR_Vocabulary* vocabulary, const LCHAR* na…
203 …GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary);
DSR_Grammar.h218 ESR_ReturnCode(*setupVocabulary)(struct SR_Grammar_t *self, SR_Vocabulary *vocabulary);
385 …_GRAMMAR_API ESR_ReturnCode SR_GrammarSetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary);
/external/srec/srec_jni/
Dandroid_speech_srec_Recognizer.cpp376 (JNIEnv *env, jclass clazz, jint grammar, jint vocabulary) { in Java_android_speech_srec_Recognizer_SR_1GrammarSetupVocabulary() argument
377 checkEsrError(env, SR_GrammarSetupVocabulary((SR_Grammar*)grammar, (SR_Vocabulary*)vocabulary)); in Java_android_speech_srec_Recognizer_SR_1GrammarSetupVocabulary()
443 SR_Vocabulary* vocabulary = NULL; in Java_android_speech_srec_Recognizer_SR_1VocabularyLoad() local
444 checkEsrError(env, SR_VocabularyLoad(filename, &vocabulary)); in Java_android_speech_srec_Recognizer_SR_1VocabularyLoad()
445 return (jint)vocabulary; in Java_android_speech_srec_Recognizer_SR_1VocabularyLoad()
449 (JNIEnv *env, jclass clazz, jint vocabulary) { in Java_android_speech_srec_Recognizer_SR_1VocabularyDestroy() argument
451 checkEsrError(env, SR_VocabularyDestroy((SR_Vocabulary*)vocabulary)); in Java_android_speech_srec_Recognizer_SR_1VocabularyDestroy()
455 (JNIEnv *env, jclass clazz, jint vocabulary, jstring word) { in Java_android_speech_srec_Recognizer_SR_1VocabularyGetPronunciation() argument
459 …ESR_ReturnCode esr_status = SR_VocabularyGetPronunciation((SR_Vocabulary*)vocabulary, wo, rtn, &rt… in Java_android_speech_srec_Recognizer_SR_1VocabularyGetPronunciation()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DIntervalSet.java215 public IntSet complement(IntSet vocabulary) { in complement() argument
216 if ( vocabulary==null ) { in complement()
219 if ( !(vocabulary instanceof IntervalSet ) ) { in complement()
221 vocabulary.getClass().getName()+")"); in complement()
223 IntervalSet vocabularyIS = ((IntervalSet)vocabulary); in complement()
DBitSet.java507 public String toString(String separator, List vocabulary) { in toString() argument
508 if (vocabulary == null) { in toString()
517 if (i >= vocabulary.size()) { in toString()
520 else if (vocabulary.get(i) == null) { in toString()
524 str += (String)vocabulary.get(i); in toString()
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c65 impl->vocabulary = NULL; in SR_Grammar_Create()
206 if (impl->vocabulary == NULL) in SR_Grammar_AddWordToSlot()
218 vocab = (SR_Vocabulary*) impl->vocabulary; in SR_Grammar_AddWordToSlot()
528 rc = SR_VocabularyGetLanguage(impl->vocabulary, &locale); in SR_Grammar_GetSize_tParameter()
633 …_GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary) in SR_Grammar_SetupVocabulary() argument
637 if (vocabulary == NULL) in SR_Grammar_SetupVocabulary()
642 impl->vocabulary = vocabulary; in SR_Grammar_SetupVocabulary()
DSR_Grammar.c153 ESR_ReturnCode SR_GrammarSetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary) in SR_GrammarSetupVocabulary() argument
160 return self->setupVocabulary(self, vocabulary); in SR_GrammarSetupVocabulary()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DBitSet.js685 toString2: function(separator, vocabulary) { argument
693 if (i >= vocabulary.size()) {
696 else if (!org.antlr.lang.isValue(vocabulary.get(i))) {
700 str += vocabulary.get(i);
/external/srec/doc/logs/srec/
Dout_SHIP_set_get_param.txt6 Create vocabulary object and associate with grammar:
Dout_SHIP_bothtags5.txt6 Create vocabulary object and associate with grammar:
Dout_SHIP_bothtags5_from_saved.txt6 Create vocabulary object and associate with grammar:
Dout_SHIP_change_sample_rate2.txt6 Create vocabulary object and associate with grammar:
/external/srec/config/en.us/
Dbaseline11k.par13 cmdline.vocabulary = dictionary/cmu6plus.ok.zip
14 #cmdline.vocabulary = dictionary/large.ok
Dbaseline8k.par13 cmdline.vocabulary = dictionary/cmu6plus.ok.zip
14 #cmdline.vocabulary = dictionary/large.ok
Dbaseline.par13 cmdline.vocabulary = dictionary/large.ok
/external/srec/srec/Vocabulary/include/
DSR_VocabularyImpl.h48 CA_Vocab* vocabulary; member
/external/srec/srec/test/SRecTestAudio/src/
DSRecTestAudio.c135 SR_Vocabulary *vocabulary; /* The current vocabulary. */ member
419 …etup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary ); in SetupGrammarLoad()
2882 if (applicationData->vocabulary != NULL) in srec_test_shutdown_application_data()
2941 applicationData->vocabulary = NULL; in srec_test_init_application_data()
3017 SR_VocabularyDestroy ( applicationData->vocabulary ); in srec_test_run_test_shutdown_vocab_grammar()
3018 applicationData->vocabulary = NULL; in srec_test_run_test_shutdown_vocab_grammar()
3041 esr_status = SR_VocabularyLoad ( filename, &applicationData->vocabulary ); in srec_test_run_test_init_vocab_grammar()
3046 … esr_status = SR_VocabularyGetLanguage ( applicationData->vocabulary, &applicationData->locale ); in srec_test_run_test_init_vocab_grammar()
3057 SR_VocabularyDestroy ( applicationData->vocabulary ); in srec_test_run_test_init_vocab_grammar()
3058 applicationData->vocabulary = NULL; in srec_test_run_test_init_vocab_grammar()
[all …]
/external/srec/srec/test/SRecTest/src/
DSRecTest.c136 SR_Vocabulary *vocabulary; /* The current vocabulary. */ member
421 …etup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary ); in SetupGrammarLoad()
3267 if (applicationData->vocabulary != NULL) in srec_test_shutdown_application_data()
3324 applicationData->vocabulary = NULL; in srec_test_init_application_data()
3400 SR_VocabularyDestroy ( applicationData->vocabulary ); in srec_test_run_test_shutdown_vocab_grammar()
3401 applicationData->vocabulary = NULL; in srec_test_run_test_shutdown_vocab_grammar()
3424 esr_status = SR_VocabularyLoad ( filename, &applicationData->vocabulary ); in srec_test_run_test_init_vocab_grammar()
3429 … esr_status = SR_VocabularyGetLanguage ( applicationData->vocabulary, &applicationData->locale ); in srec_test_run_test_init_vocab_grammar()
3440 SR_VocabularyDestroy ( applicationData->vocabulary ); in srec_test_run_test_init_vocab_grammar()
3441 applicationData->vocabulary = NULL; in srec_test_run_test_init_vocab_grammar()
[all …]
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/antlr3/
DTParser.g20 // Use the vocabulary generated by the accompanying
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DAssignTokenTypesWalker.g46 * a) Import token vocabulary if available. Set token types for any new tokens
235 // check for grammar-level option to import vocabulary
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg45 problem reading token vocabulary file <arg>: <exception>
63 "problems parsing token vocabulary file <arg> on line <arg2>"
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DLexer.as298 /** Lexers can normally match any char in it's vocabulary after matching
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRLexer.m404 /** Lexers can normally match any char in it's vocabulary after matching

12