Searched refs:pronunciation (Results 1 - 10 of 10) sorted by relevance

/external/srec/tools/test_swiarb/
H A Dtest_swiarb.c60 char pronunciation[256]; local
97 printf("pronunciation: ");
98 q = fgets(pronunciation, sizeof(pronunciation), stdin);
106 pronunciation_len = strlen(pronunciation)-1;
108 pronunciation, pronunciation_len,
112 printf("short pronunciation length is %d.\n", pronunciation_len);
118 printf("triphone:_%c_ -> ModelID:%d\n", pronunciation[j], model_sequence[j]);
120 printf("triphone:_%c%c -> ModelID:%d\n", pronunciation[j], pronunciation[
[all...]
/external/srec/srec/Vocabulary/include/
H A DSR_Vocabulary.h56 * @param pronunciation [out] Phonetic representation of word
60 ESR_ReturnCode(*getPronunciation)(struct SR_Vocabulary_t* self, const LCHAR* word, LCHAR* pronunciation, size_t* len);
150 * @param pronunciation resulting pronunication
154 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyGetPronunciation(SR_Vocabulary* self, const LCHAR* word, LCHAR* pronunciation, size_t* len);
/external/srec/srec/ca/
H A Dsyn_srec.c54 const char *phrase, const char* pronunciation,
58 rc = FST_AddWordToGrammar(syntax->synx, slot, phrase, pronunciation, weight);
264 const char* pronunciation, /* WB assumed at the edges */
270 pronunciation, pronunciation_len,
53 CA_AddWordToSyntax(CA_Syntax* syntax, const char* slot, const char *phrase, const char* pronunciation, const int weight) argument
263 CA_ArbdataGetModelIdsForPron(CA_Arbdata* ca_arbdata, const char* pronunciation, int pronunciation_len, modelID* pmodelIds) argument
/external/srec/srec/Grammar/src/
H A DSR_GrammarImpl.c150 const LCHAR* pronunciation, int weight, const LCHAR* tag)
155 const LCHAR* input_pronunciation = pronunciation;
176 if ( pronunciation != NULL )
178 if ( strlen ( pronunciation ) >= MAX_STRING_LEN )
180 PLogError ( "SR_Grammar_AddWordToSlot pronunciation : %s too long : Max %d", pronunciation, MAX_STRING_LEN - 1 );
216 if (!pronunciation || !(*pronunciation) || !LSTRCMP(pronunciation, L("NULL")))
220 pronunciation
149 SR_Grammar_AddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word, const LCHAR* pronunciation, int weight, const LCHAR* tag) argument
[all...]
H A DSR_Grammar.c39 const LCHAR* pronunciation, int weight, const LCHAR* tag)
47 return self->addWordToSlot(self, slot, word, pronunciation, weight, tag);
38 SR_GrammarAddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word, const LCHAR* pronunciation, int weight, const LCHAR* tag) argument
/external/srec/srec/Vocabulary/src/
H A DVocabularyImpl.c322 build up the pronunication of the phrase, by appending the pronunciation
410 ESR_ReturnCode SR_VocabularyGetPronunciationImpl(SR_Vocabulary* self, const LCHAR* phrase, LCHAR* pronunciation, size_t* pronunciation_len) argument
417 LCHAR* curr_phoneme = pronunciation;
452 if( CA_GetEntryInDictionary(impl->vocabulary, phrase, pronunciation, (int*)&len, MAX_PRON_LEN)) {
454 *pronunciation_len = LSTRLEN(pronunciation)+1;
456 while( pronunciation[ (*pronunciation_len)] != L('\0'))
457 *pronunciation_len += LSTRLEN( pronunciation + (*pronunciation_len)) + 1;
498 append_to_each_with_joiner( pronunciation, p_infpron, OPTSILENCE_CODE, MAX_PRON_LEN, &len);
531 append_to_each_with_joiner( pronunciation, p_infpron, OPTSILENCE_CODE, MAX_PRON_LEN, &len);
532 append_to_each_with_joiner( pronunciation, lastPhonem
[all...]
/external/srec/srec/Grammar/include/
H A DSR_Grammar.h123 * @param pronunciation Word pronunciation (optional). Pass NULL to omit.
131 const LCHAR* pronunciation, int weight, const LCHAR* tag);
329 * @param pronunciation Word pronunciation (optional). Pass NULL to omit.
338 const LCHAR* word, const LCHAR* pronunciation,
H A DSR_GrammarImpl.h143 const LCHAR* word, const LCHAR* pronunciation,
/external/srec/srec/include/
H A Dsimapi.h649 * Checks the existance of a pronunciation
663 * pron buffer to put pronunciation in. The format
672 * Get the pronunciation of a word
1593 const char* pronunciation, /* WB assumed at the edges */
1605 const char *phrase, const char* pronunciation, const int weight);
/external/srec/srec_jni/
H A Dandroid_speech_srec_Recognizer.cpp353 (JNIEnv *env, jclass clazz, jint grammar, jstring slot, jstring word, jstring pronunciation, jint weight, jstring tag) {
360 (!pronunciation || (pr = env->GetStringUTFChars(pronunciation, 0))) &&
365 if (pr) env->ReleaseStringUTFChars(pronunciation, pr);
352 Java_android_speech_srec_Recognizer_SR_1GrammarAddWordToSlot(JNIEnv *env, jclass clazz, jint grammar, jstring slot, jstring word, jstring pronunciation, jint weight, jstring tag) argument

Completed in 110 milliseconds