/external/srec/tools/grxmlcompile/ |
vocab.cpp | 99 LCHAR *pron = 0; local 101 pron = &prons[0]+len_used; 102 len_used += LSTRLEN(pron)+1; 104 std::cout << "DEBUG: used " << len_used << " now " << LSTRLEN(pron) << std::endl; 106 std::string pronString( pron ); // wstring conversion if needed 109 std::cout << "DEBUG: " << phrase << " " << pron << std::endl; 146 std::cout << "Pron #" << ii << ": " << s << std::endl; 157 std::cout << " Pron #" << ii << ": " << s << std::endl; 187 std::string pron; local 192 getPron( pronIndex, pron ); 222 std::string pron; local [all...] |
sub_phon.cpp | 34 Pronunciation pron; local 72 pron.clear(); 73 pron.lookup( *(doc.getVocabulary()), word ); 74 pronCount = pron.getPronCount(); 77 int modelCount = pron.getPhonemeCount(jj); 80 pron.getPhoneme(jj, kk, modelLabel);
|
grxmlcompile.cpp | 478 std::cout << "Error: FstPushSlotLikeOLabels() failing, there could be confusion between the slot (hack-pron) and a real-pron, the slot olabel may have been pushed by earlier fst operations!" << std::endl; 703 LCHAR *pron = 0, *p; local 704 /* word is ok, get the pron */ 713 pron = &prons[0]+len_used; 714 len_used += LSTRLEN(pron)+1; 715 if( *pron == 0) break; 718 LPRINTF("%s : %s\n", phrase, pron); 720 for(p=pron; *p; p++) { 732 string pron_string = pron; [all...] |
/external/srec/seti/sltsEngine/include/ |
fsm_dictionary.h | 45 int get_lts_pron(FSM_DICTIONARY *d, char *word, char **pron, int max_pron_len);
|
/external/srec/srec/ca/ |
voc_basi.c | 138 int CA_GetFullEntryInDictionary(CA_Vocab *hVocab, const char *label, char *pron, int *pronSize, int pronMaxSize); 140 int CA_GetEntryInDictionary(CA_Vocab *hVocab, const char *label, char *pron, int *pronSize, int pronMaxSize) 145 rc = CA_GetFullEntryInDictionary(hVocab, label, pron, pronSize, pronMaxSize); 153 int CA_GetFullEntryInDictionary(CA_Vocab *hVocab, const char *label, char *pron, int *pronSize, int pronMaxSize) 160 pronCount = get_prons(&hVocab->voc, label, pron, pronMaxSize); 171 pronCount = get_prons(&hVocab->voc, lower, pron, pronMaxSize);
|
/external/srec/tools/cmd/ |
pht_to_long.pl | 47 ($word, $pron) = split(/\s+/); 48 @sphlist = split(/ */, $pron); 54 warn "error: unknown sph $sph in $word $pron\n" ;
|
pht_to_short.pl | 56 ($word, $pron) = split(/\s*\t\s*/, $_, 2); 58 @lphlist = split(/\s+/, $pron);
|
/external/srec/tools/dictTest/ |
dictTest.c | 54 LCHAR *pron = 0; local 56 pron = &prons[0]+len_used; 57 len_used += LSTRLEN(pron)+1; 58 LFPRINTF(fout,"%s : %s\n", phrase, pron);
|
/frameworks/base/core/java/android/speech/srec/ |
Recognizer.java | 198 * @param pron pronunciation, or null to derive from word. 202 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { 203 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag);
|
/external/srec/srec/include/ |
srec_context.h | 197 const char* pron, const int cost);
|
simapi.h | 656 char *pron, 663 * pron buffer to put pronunciation in. The format 666 * pronSize the number of bytes returned in the pron buffer 667 * pronMaxSiz this size of "pron" [all...] |
/external/srec/srec/crec/ |
srec_context.c | [all...] |
/external/srec/srec/test/SRecTest/src/ |
SRecTest.c | 800 LCHAR pron [MAX_LINE_LENGTH]; local 809 MAX_LINE_LENGTH, word, MAX_LINE_LENGTH, pron, 821 pron[ strlen(pron)+1] = 0; // make sure we have double-null! 822 esr_status = SR_GrammarAddWordToSlot ( active_grammar, slot, word, pron, weightNumber, semanticTag ); [all...] |
/external/srec/srec/test/SRecTestAudio/src/ |
SRecTestAudio.c | 793 LCHAR pron [MAX_LINE_LENGTH]; local 802 MAX_LINE_LENGTH, word, MAX_LINE_LENGTH, pron, 814 esr_status = SR_GrammarAddWordToSlot ( active_grammar, slot, word, pron, weightNumber, semanticTag ); [all...] |