Searched refs:vocabulary (Results 1 - 20 of 20) sorted by relevance

/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/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestIntervalSet.java101 IntervalSet vocabulary = IntervalSet.of(1,1000);
102 vocabulary.add(2000,3000);
105 String result = (s.complement(vocabulary)).toString();
110 IntervalSet vocabulary = IntervalSet.of(1,1000);
115 String result = (s.complement(vocabulary)).toString();
120 IntervalSet vocabulary = IntervalSet.of(1,1000);
123 String result = (s.complement(vocabulary)).toString();
128 IntervalSet vocabulary = IntervalSet.of(1,2);
131 String result = (s.complement(vocabulary)).toString();
136 IntervalSet vocabulary
[all...]
/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);
H A DSR_Grammar.h126 * @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
379 * Configures a vocabulary wit
[all...]
/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/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
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);
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);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DBitSet.js627 * @param {Array} [vocabulary] array from which the i-th value will be
679 * ith element of vocabulary is displayed instead. Vocabulary is a Vector
685 toString2: function(separator, vocabulary) {
693 if (i >= vocabulary.size()) {
696 else if (!org.antlr.lang.isValue(vocabulary.get(i))) {
700 str += vocabulary.get(i);
/external/srec/srec_jni/
H A Dandroid_speech_srec_Recognizer.cpp376 (JNIEnv *env, jclass clazz, jlong grammar, jlong 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 (jlong)vocabulary;
449 (JNIEnv *env, jclass clazz, jlong vocabulary) {
451 checkEsrError(env, SR_VocabularyDestroy((SR_Vocabulary*)vocabulary));
455 (JNIEnv *env, jclass clazz, jlong 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, jlong grammar, jlong vocabulary) argument
448 Java_android_speech_srec_Recognizer_SR_1VocabularyDestroy(JNIEnv *env, jclass clazz, jlong vocabulary) argument
454 Java_android_speech_srec_Recognizer_SR_1VocabularyGetPronunciation(JNIEnv *env, jclass clazz, jlong 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/srec/config/en.us/
H A DAndroid.mk59 # This needs an explicit rule to specify the vocabulary (dictionary)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Drecognizers.rb1233 A grammar defines the vocabulary and the sentence structure of a language. While
1234 a lexer concerns the basic vocabulary symbols of the language, a parser's
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
H A Den.stg45 problem reading token vocabulary file <arg>: <exception>
63 "problems parsing token vocabulary file <arg> on line <arg2>"
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammar.java2210 * When you import a grammar you implicitly import its vocabulary as well
2410 * char vocabulary, compute an ANTLR-valid (possibly escaped) char literal.
2933 /** If there is a char vocabulary, use it; else return min to max char
2984 //System.out.println("vocabulary "+getTokenTypes().toString(this));
/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/ ...
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.pas1100 /// Lexers can normally Match any char in it's vocabulary after matching
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...

Completed in 425 milliseconds