/external/srec/tools/test_swiarb/ |
D | test_swiarb.c | 60 char pronunciation[256]; in main() local 98 q = fgets(pronunciation, sizeof(pronunciation), stdin); in main() 106 pronunciation_len = strlen(pronunciation)-1; in main() 108 pronunciation, pronunciation_len, in main() 118 printf("triphone:_%c_ -> ModelID:%d\n", pronunciation[j], model_sequence[j]); in main() 120 printf("triphone:_%c%c -> ModelID:%d\n", pronunciation[j], pronunciation[j+1], in main() 124 … printf("triphone:%c%c_ -> ModelID:%d\n", pronunciation[j-1], pronunciation[j], model_sequence[j]); in main() 127 …printf("triphone:%c%c%c -> ModelID:%d\n", pronunciation[j-1], pronunciation[j], pronunciation[j+1], in main()
|
/external/srec/srec/Vocabulary/src/ |
D | VocabularyImpl.c | 410 …GetPronunciationImpl(SR_Vocabulary* self, const LCHAR* phrase, LCHAR* pronunciation, size_t* pronu… in SR_VocabularyGetPronunciationImpl() argument 417 LCHAR* curr_phoneme = pronunciation; in SR_VocabularyGetPronunciationImpl() 452 if( CA_GetEntryInDictionary(impl->vocabulary, phrase, pronunciation, (int*)&len, MAX_PRON_LEN)) { in SR_VocabularyGetPronunciationImpl() 454 *pronunciation_len = LSTRLEN(pronunciation)+1; in SR_VocabularyGetPronunciationImpl() 456 while( pronunciation[ (*pronunciation_len)] != L('\0')) in SR_VocabularyGetPronunciationImpl() 457 *pronunciation_len += LSTRLEN( pronunciation + (*pronunciation_len)) + 1; in SR_VocabularyGetPronunciationImpl() 498 … append_to_each_with_joiner( pronunciation, p_infpron, OPTSILENCE_CODE, MAX_PRON_LEN, &len); in SR_VocabularyGetPronunciationImpl() 531 … append_to_each_with_joiner( pronunciation, p_infpron, OPTSILENCE_CODE, MAX_PRON_LEN, &len); in SR_VocabularyGetPronunciationImpl() 532 append_to_each_with_joiner( pronunciation, lastPhoneme, L('\0'), MAX_PRON_LEN, &len); in SR_VocabularyGetPronunciationImpl() 536 … append_to_each_with_joiner( pronunciation, p_infpron, OPTSILENCE_CODE, MAX_PRON_LEN, &len); in SR_VocabularyGetPronunciationImpl() [all …]
|
/external/srec/srec/Grammar/src/ |
D | SR_GrammarImpl.c | 150 const LCHAR* pronunciation, int weight, const LCHAR* tag) in SR_Grammar_AddWordToSlot() argument 155 const LCHAR* input_pronunciation = pronunciation; in SR_Grammar_AddWordToSlot() 176 if ( pronunciation != NULL ) in SR_Grammar_AddWordToSlot() 178 if ( strlen ( pronunciation ) >= MAX_STRING_LEN ) in SR_Grammar_AddWordToSlot() 180 …PLogError ( "SR_Grammar_AddWordToSlot pronunciation : %s too long : Max %d", pronunciation, MAX_ST… in SR_Grammar_AddWordToSlot() 216 if (!pronunciation || !(*pronunciation) || !LSTRCMP(pronunciation, L("NULL"))) in SR_Grammar_AddWordToSlot() 220 pronunciation = buffer; in SR_Grammar_AddWordToSlot() 235 … CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("PRON"), pronunciation)); in SR_Grammar_AddWordToSlot() 237 … CHKLOG(logrc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, L("GPRON"), pronunciation)); in SR_Grammar_AddWordToSlot() 250 ca_rc = CA_AddWordToSyntax(impl->syntax, slot, word, pronunciation, weight); in SR_Grammar_AddWordToSlot() [all …]
|
D | SR_Grammar.c | 39 const LCHAR* pronunciation, int weight, const LCHAR* tag) in SR_GrammarAddWordToSlot() argument 47 return self->addWordToSlot(self, slot, word, pronunciation, weight, tag); in SR_GrammarAddWordToSlot()
|
/external/srec/srec/Vocabulary/include/ |
D | SR_Vocabulary.h | 60 …Pronunciation)(struct SR_Vocabulary_t* self, const LCHAR* word, LCHAR* pronunciation, size_t* len); 154 …abularyGetPronunciation(SR_Vocabulary* self, const LCHAR* word, LCHAR* pronunciation, size_t* len);
|
/external/srec/srec/ca/ |
D | syn_srec.c | 54 const char *phrase, const char* pronunciation, in CA_AddWordToSyntax() argument 58 rc = FST_AddWordToGrammar(syntax->synx, slot, phrase, pronunciation, weight); in CA_AddWordToSyntax() 264 const char* pronunciation, /* WB assumed at the edges */ in CA_ArbdataGetModelIdsForPron() argument 270 pronunciation, pronunciation_len, in CA_ArbdataGetModelIdsForPron()
|
/external/srec/srec/Grammar/include/ |
D | SR_Grammar.h | 131 const LCHAR* pronunciation, int weight, const LCHAR* tag); 338 const LCHAR* word, const LCHAR* pronunciation,
|
D | SR_GrammarImpl.h | 143 const LCHAR* word, const LCHAR* pronunciation,
|
/external/srec/config/en.us/tcp/ |
D | bothtags5_from_saved.tcp | 38 # since pronunciation guessing is not always available we're specifying 39 # the pronunciation to be used for this text tag.
|
D | bothtags5.tcp | 60 # since pronunciation guessing is not always available we're specifying 61 # the pronunciation to be used for this text tag.
|
/external/srec/srec_jni/ |
D | android_speech_srec_Recognizer.cpp | 353 …(JNIEnv *env, jclass clazz, jint grammar, jstring slot, jstring word, jstring pronunciation, jint … in Java_android_speech_srec_Recognizer_SR_1GrammarAddWordToSlot() argument 360 (!pronunciation || (pr = env->GetStringUTFChars(pronunciation, 0))) && in Java_android_speech_srec_Recognizer_SR_1GrammarAddWordToSlot() 365 if (pr) env->ReleaseStringUTFChars(pronunciation, pr); in Java_android_speech_srec_Recognizer_SR_1GrammarAddWordToSlot()
|
/external/srec/srec/include/ |
D | simapi.h | 1593 const char* pronunciation, /* WB assumed at the edges */ 1605 const char *phrase, const char* pronunciation, const int weight);
|
/external/srec/config/en.us/dictionary/ |
D | large.ok | 23057 pronunciation pr@nuns/AS~
|