/external/srec/srec/crec/ |
D | text_parser.c | 34 const char* transcription, int tlen) in check_word_path() argument 42 if ( strlen ( transcription ) >= MAX_LOCAL_LEN - 1) in check_word_path() 44 PLogError("Transcription too long [%s]\n", transcription); in check_word_path() 52 wd = transcription; in check_word_path() 55 for (wd = transcription + tlen - 1; wd > transcription; wd--) in check_word_path() 69 PLogError("Word too long in transcription [%s]\n", transcription); in check_word_path() 101 if (wd == transcription && whether_final_atok) return PARSE_PASS; in check_word_path() 102 if (wd == transcription) return PARSE_FAIL; in check_word_path() 104 while (transcription[tlen] != ' ' && tlen > 0) tlen--; in check_word_path() 110 int FST_CheckPath_Simple(srec_context* context, const char* transcription) in FST_CheckPath_Simple() argument [all …]
|
D | word_lattice.c | 230 int sprint_word_token_backtrace(char *transcription, int len, srec* rec, wtokenID wtoken_index) in sprint_word_token_backtrace() argument 236 char *tr_end = transcription; in sprint_word_token_backtrace() 244 *transcription = 0; in sprint_word_token_backtrace() 265 *transcription = 0; in sprint_word_token_backtrace() 275 if (wlen + tr_end - transcription + 1 >= len) in sprint_word_token_backtrace() 277 *transcription = 0; in sprint_word_token_backtrace() 284 while (from_p >= transcription) *(to_p--) = *(from_p--); in sprint_word_token_backtrace() 290 to_p = transcription; in sprint_word_token_backtrace() 297 *transcription = 0; in sprint_word_token_backtrace() 444 int srec_get_top_choice_transcription(multi_srec* recm, char *transcription, int len, int whether_s… argument [all …]
|
/external/srec/srec/Nametag/src/ |
D | NametagImpl.c | 36 LCHAR transcription[MAX_STRING_LEN]; in SR_NametagCreate() local 60 rc = result->getValue(result, 0, L("meaning"), transcription, &len); in SR_NametagCreate() 69 len = LSTRLEN(transcription)+1; in SR_NametagCreate() 70 rc = SR_NametagCreateFromValue(id, transcription, (int)len, self); in SR_NametagCreate() 76 LCHAR* long_pron = transcription; in SR_NametagCreate()
|
/external/srec/srec/test/SRecTest/src/ |
D | SRecTest.c | 149 LCHAR transcription [MAX_LINE_LENGTH]; member 2257 …>raw_waveform_filename, L("a%lu__%s.raw"), (unsigned long)recognition_count, data->transcription ); in srec_test_write_and_log_wave_form_file() 2306 LPRINTF ( L("TRANSCRIPTION : '%s'\n"), data->transcription ); in srec_test_process_nbest_list() 2590 LPRINTF(L("TRANSCRIPTION : '%s'\n"), data->transcription); in srec_test_log_recognition_failure() 2625 …ive_grammar, ApplicationData *data, LCHAR *waveform, LCHAR *bos, LCHAR *eos, LCHAR *transcription ) in srec_test_log_reco_from_file_data() argument 2634 LSPRINTF ( data->transcription, "%s", transcription ); in srec_test_log_reco_from_file_data() 2635 transcription_length = LSTRLEN ( data->transcription ); in srec_test_log_reco_from_file_data() 2637 while ( ( *( data->transcription + transcription_length - 1 ) == '\n' ) || in srec_test_log_reco_from_file_data() 2638 ( *( data->transcription + transcription_length - 1 ) == '\r' ) ) in srec_test_log_reco_from_file_data() 2640 *( data->transcription + transcription_length - 1 ) = '\0'; in srec_test_log_reco_from_file_data() [all …]
|
/external/srec/srec/Semproc/src/ |
D | SemanticProcessorImpl.c | 245 #define firstWord(transcription) transcription argument 246 #define nextWord(transcription) (transcription && *transcription ? &transcription[LSTRLEN(transcri… argument 360 const LCHAR* transcription) in checkpath_forward() argument 379 transp = transcription; in checkpath_forward() 775 const LCHAR* transcription, in SR_SemanticProcessor_CheckParse() argument 812 for (i = 0; transcription[i] && i < MAX_STRING_LEN - 2; i++) in SR_SemanticProcessor_CheckParse() 814 if (transcription[i] == L(' ')) in SR_SemanticProcessor_CheckParse() 817 prepared_transcription[i] = transcription[i]; in SR_SemanticProcessor_CheckParse() 982 PLogMessage(L("Accumulated Scripts for (%s):\n%s"), transcription, acc_scripts); in SR_SemanticProcessor_CheckParse()
|
/external/srec/srec/Grammar/include/ |
D | SR_Grammar.h | 115 …ESR_ReturnCode(*checkParse)(struct SR_Grammar_t* self, const LCHAR* transcription, SR_SemanticResu… 508 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarCheckParse(SR_Grammar* self, const LCHAR* transcription, … 517 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarAllowOnly(SR_Grammar* self, const char* transcription);
|
D | SR_GrammarImpl.h | 170 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_CheckParse(SR_Grammar* self, const LCHAR* transcription,…
|
/external/srec/srec/include/ |
D | word_lattice.h | 44 …int srec_get_top_choice_transcription(multi_srec* rec, char *transcription, int len, int whether_s… 46 int sprint_word_token_backtrace(char *transcription, int len, srec* rec, wtokenID wtoken_index);
|
D | srec_context.h | 217 int FST_CheckPath(srec_context* context, const char* transcription,
|
/external/srec/srec/Grammar/src/ |
D | SR_GrammarImpl.c | 646 ESR_ReturnCode SR_Grammar_CheckParse(SR_Grammar* self, const LCHAR* transcription, SR_SemanticResul… in SR_Grammar_CheckParse() argument 652 if (transcription == NULL) in SR_Grammar_CheckParse() 662 if (CA_CheckTranscription(impl->syntax, transcription, 0) == 0) in SR_Grammar_CheckParse() 668 rc = impl->semproc->checkParse(impl->semproc, impl->semgraph, transcription, result, resultCount); in SR_Grammar_CheckParse() 673 strcpy(copy_of_trans, transcription); in SR_Grammar_CheckParse() 683 ESR_ReturnCode SR_GrammarAllowOnly(SR_Grammar* self, const char* transcription) in SR_GrammarAllowOnly() argument 693 strcpy(copy_of, transcription); in SR_GrammarAllowOnly()
|
D | SR_Grammar.c | 173 ESR_ReturnCode SR_GrammarCheckParse(SR_Grammar* self, const LCHAR* transcription, SR_SemanticResult… in SR_GrammarCheckParse() argument 181 return self->checkParse(self, transcription, result, resultCount); in SR_GrammarCheckParse()
|
/external/srec/srec/test/SRecTestAudio/src/ |
D | SRecTestAudio.c | 148 LCHAR transcription [MAX_LINE_LENGTH]; member 1950 …>raw_waveform_filename, L("a%lu__%s.raw"), (unsigned long)recognition_count, data->transcription ); in srec_test_write_and_log_wave_form_file() 2004 LPRINTF ( L("TRANSCRIPTION : '%s'\n"), data->transcription ); in srec_test_process_nbest_list() 2263 LPRINTF(L("TRANSCRIPTION : '%s'\n"), data->transcription); in srec_test_log_recognition_failure() 2298 …ive_grammar, ApplicationData *data, LCHAR *waveform, LCHAR *bos, LCHAR *eos, LCHAR *transcription ) in srec_test_log_reco_from_file_data() argument 2307 LSPRINTF ( data->transcription, "%s", transcription ); in srec_test_log_reco_from_file_data() 2308 transcription_length = LSTRLEN ( data->transcription ); in srec_test_log_reco_from_file_data() 2310 while ( ( *( data->transcription + transcription_length - 1 ) == '\n' ) || in srec_test_log_reco_from_file_data() 2311 ( *( data->transcription + transcription_length - 1 ) == '\r' ) ) in srec_test_log_reco_from_file_data() 2313 *( data->transcription + transcription_length - 1 ) = '\0'; in srec_test_log_reco_from_file_data() [all …]
|
/external/srec/srec/ca/ |
D | syn_srec.c | 333 int CA_CheckTranscription(CA_Syntax *hSyntax, const char *transcription, int no) in CA_CheckTranscription() argument 339 rc = FST_CheckPath(context, transcription, literal, max_literal_len); in CA_CheckTranscription() 340 if (rc == 0) strcpy((char*)transcription, literal); in CA_CheckTranscription()
|
/external/srec/config/en.us/tcp/ |
D | bothtags5_from_saved.tcp | 40 # If NULL appears in the transcription field (immediately after the name) 41 # then the phonetic transcription will be requested from the G2P
|
D | bothtags5.tcp | 62 # If NULL appears in the transcription field (immediately after the name) 63 # then the phonetic transcription will be requested from the G2P
|
/external/srec/srec/Semproc/include/ |
D | SR_SemanticProcessorImpl.h | 66 …(SR_SemanticProcessor* self, SR_SemanticGraph* semgraph, const LCHAR* transcription, SR_SemanticRe…
|
D | SR_SemanticProcessor.h | 47 …R_SemanticProcessor_t* self, SR_SemanticGraph* semgraph, const LCHAR* transcription, SR_SemanticRe…
|
/external/svox/pico/tests/data/ |
D | tests_regressions_es-ES.txt | 10 # transcription of what was heard inside [ ].
|
D | xsampa_pico_man_es-ES.txt | 13 # transcription of what was heard inside [ ].
|
D | xsampa_pico_man_fr-FR.txt | 13 # transcription of what was heard inside [ ].
|
D | xsampa_pico_man_en-US.txt | 13 # transcription of what was heard inside [ ].
|
/external/srec/srec/Recognizer/include/ |
D | SR_Recognizer.h | 471 const LCHAR* transcription, 881 const LCHAR* transcription,
|
D | SR_RecognizerImpl.h | 523 const LCHAR* transcription,
|
/external/srec/srec/Recognizer/src/ |
D | Recognizer.c | 359 const LCHAR* transcription, in SR_RecognizerLogWaveformData() argument 369 return self->logWaveformData(self, waveformFilename, transcription, bos, eos, isInvocab); in SR_RecognizerLogWaveformData()
|
/external/srec/srec_jni/ |
D | android_speech_srec_Recognizer.cpp | 420 (JNIEnv *env, jclass clazz, jint grammar, jstring transcription) { in Java_android_speech_srec_Recognizer_SR_1GrammarAllowOnly() argument 421 const char* tr = env->GetStringUTFChars(transcription, 0); in Java_android_speech_srec_Recognizer_SR_1GrammarAllowOnly() 423 env->ReleaseStringUTFChars(transcription, tr); in Java_android_speech_srec_Recognizer_SR_1GrammarAllowOnly()
|