Home
last modified time | relevance | path

Searched refs:SR_Vocabulary (Results 1 – 15 of 15) sorted by relevance

/external/srec/srec/Vocabulary/include/
DSR_VocabularyImpl.h43 SR_Vocabulary Interface;
71 ESR_ReturnCode SR_VocabularyCreateImpl(SR_Vocabulary** self);
75 ESR_ReturnCode SR_VocabularyLoadImpl(const LCHAR* filename, SR_Vocabulary** self);
79 ESR_ReturnCode SR_VocabularySaveImpl(SR_Vocabulary* self, const LCHAR* filename);
83 ESR_ReturnCode SR_VocabularyAddWordImpl(SR_Vocabulary* self, const LCHAR* word);
87 ESR_ReturnCode SR_VocabularyDeleteWordImpl(SR_Vocabulary* self, const LCHAR* word);
91 ESR_ReturnCode SR_VocabularyContainsWordImpl(SR_Vocabulary* self, const LCHAR* word, ESR_BOOL* resu…
95 ESR_ReturnCode SR_VocabularyGetPronunciationImpl(SR_Vocabulary* self, const LCHAR* word, LCHAR* pho…
99 ESR_ReturnCode SR_VocabularyGetLanguageImpl(SR_Vocabulary* self, ESR_Locale* locale);
103 ESR_ReturnCode SR_VocabularyDestroyImpl(SR_Vocabulary* self);
[all …]
DSR_Vocabulary.h77 SR_Vocabulary; typedef
97 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyCreate(ESR_Locale locale, SR_Vocabulary** self);
106 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyLoad(const LCHAR* filename, SR_Vocabulary** self);
118 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularySave(SR_Vocabulary* self, const LCHAR* filename);
127 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyAddWord(SR_Vocabulary* self, const LCHAR* word);
136 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyGetLanguage(SR_Vocabulary* self, ESR_Locale* locale…
143 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyDestroy(SR_Vocabulary* self);
154 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyGetPronunciation(SR_Vocabulary* self, const LCHAR* …
/external/srec/srec/Vocabulary/src/
DVocabulary.c25 ESR_ReturnCode SR_VocabularyCreate(ESR_Locale locale, SR_Vocabulary** self) in SR_VocabularyCreate()
27 SR_Vocabulary* Interface; in SR_VocabularyCreate()
52 ESR_ReturnCode SR_VocabularyLoad(const LCHAR* filename, SR_Vocabulary** self) in SR_VocabularyLoad()
54 SR_Vocabulary* Interface; in SR_VocabularyLoad()
65 ESR_ReturnCode SR_VocabularySave(SR_Vocabulary* self, const LCHAR* filename) in SR_VocabularySave()
75 ESR_ReturnCode SR_VocabularyGetLanguage(SR_Vocabulary* self, ESR_Locale* locale) in SR_VocabularyGetLanguage()
85 ESR_ReturnCode SR_VocabularyDestroy(SR_Vocabulary* self) in SR_VocabularyDestroy()
95 ESR_ReturnCode SR_VocabularyGetPronunciation(SR_Vocabulary* self, const LCHAR* word, LCHAR* phoneme… in SR_VocabularyGetPronunciation()
DVocabularyImpl.c49 ESR_ReturnCode SR_CreateG2P(SR_Vocabulary* self) in SR_CreateG2P()
104 ESR_ReturnCode SR_DestroyG2P(SR_Vocabulary* self) in SR_DestroyG2P()
146 ESR_ReturnCode SR_VocabularyCreateImpl(SR_Vocabulary** self) in SR_VocabularyCreateImpl()
168 *self = (SR_Vocabulary*) impl; in SR_VocabularyCreateImpl()
173 ESR_ReturnCode SR_VocabularyDestroyImpl(SR_Vocabulary* self) in SR_VocabularyDestroyImpl()
225 rc = SR_CreateG2P((SR_Vocabulary*)impl); in sr_vocabularyloadimpl_for_real()
235 ESR_ReturnCode SR_VocabularyLoadImpl(const LCHAR* filename, SR_Vocabulary** self) in SR_VocabularyLoadImpl()
237 SR_Vocabulary* Interface; in SR_VocabularyLoadImpl()
261 ESR_ReturnCode SR_VocabularySaveImpl(SR_Vocabulary* self, const LCHAR* filename) in SR_VocabularySaveImpl()
410 ESR_ReturnCode SR_VocabularyGetPronunciationImpl(SR_Vocabulary* self, const LCHAR* phrase, LCHAR* p… in SR_VocabularyGetPronunciationImpl()
[all …]
/external/srec/srec/Grammar/include/
DSR_GrammarImpl.h80 SR_Vocabulary* vocabulary;
122 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_AddRuleFromList(SR_Grammar* self, SR_Vocabulary* vocabul…
203 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabul…
DSR_Grammar.h218 ESR_ReturnCode(*setupVocabulary)(struct SR_Grammar_t *self, SR_Vocabulary *vocabulary);
385 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarSetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabula…
/external/srec/tools/grxmlcompile/
Dvocab.h51 SR_Vocabulary *getSRVocabularyHandle() { return m_hVocab; } in getSRVocabularyHandle()
53 SR_Vocabulary *m_hVocab;
Dvocab.cpp86 SR_Vocabulary *p_SRVocab = vocab.getSRVocabularyHandle(); in lookup()
Dgrxmlcompile.cpp581 SR_Vocabulary *vocab = 0; in make_openfst_graphs()
/external/srec/tools/dictTest/
DdictTest.c42 void doGetProns(SR_Vocabulary *vocab, LCHAR* phrase, size_t len, FILE* fout) in doGetProns()
64 void doInputTestPhonemes(SR_Vocabulary *vocab, PFile* fin, FILE* fout) in doInputTestPhonemes()
113 SR_Vocabulary *vocab = 0; in main()
/external/srec/srec_jni/
Dandroid_speech_srec_Recognizer.cpp377 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()
451 checkEsrError(env, SR_VocabularyDestroy((SR_Vocabulary*)vocabulary)); in Java_android_speech_srec_Recognizer_SR_1VocabularyDestroy()
459 …ESR_ReturnCode esr_status = SR_VocabularyGetPronunciation((SR_Vocabulary*)vocabulary, wo, rtn, &rt… in Java_android_speech_srec_Recognizer_SR_1VocabularyGetPronunciation()
/external/srec/srec/Grammar/src/
DSR_Grammar.c153 ESR_ReturnCode SR_GrammarSetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabulary) in SR_GrammarSetupVocabulary()
DSR_GrammarImpl.c153 SR_Vocabulary* vocab; in SR_Grammar_AddWordToSlot()
218 vocab = (SR_Vocabulary*) impl->vocabulary; in SR_Grammar_AddWordToSlot()
633 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupVocabulary(SR_Grammar *self, SR_Vocabulary *vocabul… in SR_Grammar_SetupVocabulary()
/external/srec/srec/test/SRecTestAudio/src/
DSRecTestAudio.c135 SR_Vocabulary *vocabulary; /* The current vocabulary. */
/external/srec/srec/test/SRecTest/src/
DSRecTest.c136 SR_Vocabulary *vocabulary; /* The current vocabulary. */