Lines Matching refs:vocab
42 void doGetProns(SR_Vocabulary *vocab, LCHAR* phrase, size_t len, FILE* fout) in doGetProns() argument
47 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len); in doGetProns()
64 void doInputTestPhonemes(SR_Vocabulary *vocab, PFile* fin, FILE* fout) in doInputTestPhonemes() argument
93 rc = vocab->getPronunciation(vocab, phrase, phoneme, &len); in doInputTestPhonemes()
113 SR_Vocabulary *vocab = 0; in main() local
263 rc = SR_VocabularyLoad(vocabfile, &vocab); in main()
274 rc = SR_VocabularyCreate(localeTag, &vocab); in main()
277 rc = SR_VocabularyCreate(ESR_LOCALE_EN_US, &vocab); in main()
305 doGetProns(vocab, phrase, MAX_PRONS_LENGTH, fout); in main()
317 doInputTestPhonemes(vocab, fin, fout); in main()
334 doGetProns(vocab, phrase, MAX_PRONS_LENGTH, fout); in main()
339 if(vocab) in main()
340 vocab->destroy(vocab); in main()