Home | History | Annotate | Download | only in dictTest

Lines Matching defs:vocab

39   LPRINTF("usage: dictTest [-words words.txt] [-vocab dictionary.ok] [-itest input.tst] [-out output.txt] [-locale en-us|en-gb|fr-fr|de-de] [-parfile baseline.par]\n");
42 void doGetProns(SR_Vocabulary *vocab, LCHAR* phrase, size_t len, FILE* fout)
47 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len);
48 // rc = vocab->getPronunciation(vocab, phrase, prons, &len);
64 void doInputTestPhonemes(SR_Vocabulary *vocab, PFile* fin, FILE* fout)
93 rc = vocab->getPronunciation(vocab, phrase, phoneme, &len);
113 SR_Vocabulary *vocab = 0;
166 else if(!LSTRCMP(argv[i], L("-vocab")))
263 rc = SR_VocabularyLoad(vocabfile, &vocab);
274 rc = SR_VocabularyCreate(localeTag, &vocab);
277 rc = SR_VocabularyCreate(ESR_LOCALE_EN_US, &vocab);
305 doGetProns(vocab, phrase, MAX_PRONS_LENGTH, fout);
317 doInputTestPhonemes(vocab, fin, fout);
334 doGetProns(vocab, phrase, MAX_PRONS_LENGTH, fout);
339 if(vocab)
340 vocab->destroy(vocab);