HomeSort by relevance Sort by last modified time
    Searched refs:vocabulary (Results 1 - 24 of 24) sorted by null

  /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/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestIntervalSet.java 101 IntervalSet vocabulary = IntervalSet.of(1,1000); local
102 vocabulary.add(2000,3000);
105 String result = (s.complement(vocabulary)).toString();
110 IntervalSet vocabulary = IntervalSet.of(1,1000); local
115 String result = (s.complement(vocabulary)).toString();
120 IntervalSet vocabulary = IntervalSet.of(1,1000); local
123 String result = (s.complement(vocabulary)).toString();
128 IntervalSet vocabulary = IntervalSet.of(1,2); local
131 String result = (s.complement(vocabulary)).toString();
136 IntervalSet vocabulary = IntervalSet.of(1,255) local
    [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 442 || ESR_SessionGetLCHAR ( L("cmdline.vocabulary"), filename, &flen )
443 || SR_VocabularyLoad ( filename, &applicationData.vocabulary )
444 || SR_VocabularyGetLanguage ( applicationData.vocabulary, &applicationData.locale )
452 || SR_GrammarSetupVocabulary ( applicationData.grammars [0].grammar, applicationData.vocabulary )
470 || SR_VocabularyDestroy ( applicationData.vocabulary )
471 || (applicationData.vocabulary = NULL)
668 private static native void SR_GrammarSetupVocabulary(int grammar, int vocabulary);
704 private static native void SR_VocabularyDestroy(int vocabulary);
705 private static native String SR_VocabularyGetPronunciation(int vocabulary, String word);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
BitSet.java 502 * ith element of vocabulary is displayed instead. Vocabulary is a Vector
507 public String toString(String separator, List vocabulary) {
508 if (vocabulary == null) {
517 if (i >= vocabulary.size()) {
520 else if (vocabulary.get(i) == null) {
524 str += (String)vocabulary.get(i);
IntervalSet.java 210 * 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) {
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/
BitSet.js 627 * @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/
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 59 # This needs an explicit rule to specify the vocabulary (dictionary)
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
recognizers.rb     [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
en.stg 45 problem reading token vocabulary file <arg>: <exception>
63 "problems parsing token vocabulary file <arg> on line <arg2>"
  /external/v8/test/mjsunit/
unicode-test.js     [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Grammar.java     [all...]
  /cts/tools/signature-tools/lib/
antlr-2.7.7.jar 
  /external/antlr/antlr-3.4/lib/
antlr-3.4-complete.jar 
  /prebuilt/common/antlr/
antlr-3.4-complete.jar 
  /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
Antlr.Runtime.pas     [all...]
  /prebuilt/common/groovy/
groovy-all-1.7.0.jar 

Completed in 894 milliseconds