Searched defs:vocab (Results 1 - 4 of 4) sorted by relevance
/external/srec/tools/dictTest/ |
H A D | dictTest.c | 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) argument 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) argument 93 rc = vocab->getPronunciation(vocab, phrase, phoneme, &len); 113 SR_Vocabulary *vocab = 0; local 166 else if(!LSTRCMP(argv[i], L("-vocab"))) [all...] |
/external/srec/tools/grxmlcompile/ |
H A D | vocab.cpp | 2 * vocab.cpp * 29 #include "vocab.h" 72 int Pronunciation::lookup( Vocabulary & vocab, std::string & phrase ) argument 86 SR_Vocabulary *p_SRVocab = vocab.getSRVocabularyHandle();
|
H A D | grxmlcompile.cpp | 153 printf("USAGE: -par <par file> -grxml <grxml grammar file> -vocab <dictionary file (.ok)> [-outdir <output directory>]\n"); 193 else if(!strcmp(argv[i],"-vocab")) 581 SR_Vocabulary *vocab = 0; local 592 rc = SR_VocabularyLoad(vocabFilename, &vocab); 706 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len); 709 SR_VocabularyDestroy(vocab); 931 if(vocab) { 932 SR_VocabularyDestroy(vocab); 933 vocab = NULL;
|
/external/srec/srec/Grammar/src/ |
H A D | SR_GrammarImpl.c | 153 SR_Vocabulary* vocab; local 218 vocab = (SR_Vocabulary*) impl->vocabulary; 219 CHKLOG(rc, vocab->getPronunciation(vocab, word, buffer, &len));
|
Completed in 88 milliseconds