/external/srec/srec/crec/ |
text_parser.c | 34 const char* transcription, int tlen) 42 if ( strlen ( transcription ) >= MAX_LOCAL_LEN - 1) 44 PLogError("Transcription too long [%s]\n", transcription); 52 wd = transcription; 55 for (wd = transcription + tlen - 1; wd > transcription; wd--) 69 PLogError("Word too long in transcription [%s]\n", transcription); 101 if (wd == transcription && whether_final_atok) return PARSE_PASS [all...] |
word_lattice.c | 230 int sprint_word_token_backtrace(char *transcription, int len, srec* rec, wtokenID wtoken_index) 236 char *tr_end = transcription; 244 *transcription = 0; 265 *transcription = 0; 275 if (wlen + tr_end - transcription + 1 >= len) 277 *transcription = 0; 284 while (from_p >= transcription) *(to_p--) = *(from_p--); 290 to_p = transcription; 297 *transcription = 0; 444 int srec_get_top_choice_transcription(multi_srec* recm, char *transcription, int len, int whether_strip_slot_markers 520 char transcription[MAX_LEN]; local [all...] |
/external/srec/srec/include/ |
word_lattice.h | 44 int srec_get_top_choice_transcription(multi_srec* rec, char *transcription, int len, int whether_strip_slot_markers) ; 46 int sprint_word_token_backtrace(char *transcription, int len, srec* rec, wtokenID wtoken_index);
|
srec_context.h | 217 int FST_CheckPath(srec_context* context, const char* transcription,
|
/external/srec/srec/Semproc/include/ |
SR_SemanticProcessor.h | 47 ESR_ReturnCode(*checkParse)(struct SR_SemanticProcessor_t* self, SR_SemanticGraph* semgraph, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount);
|
SR_SemanticProcessorImpl.h | 66 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticProcessor_CheckParse(SR_SemanticProcessor* self, SR_SemanticGraph* semgraph, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount);
|
/external/srec/srec/Nametag/src/ |
NametagImpl.c | 36 LCHAR transcription[MAX_STRING_LEN]; local 60 rc = result->getValue(result, 0, L("meaning"), transcription, &len); 69 len = LSTRLEN(transcription)+1; 70 rc = SR_NametagCreateFromValue(id, transcription, (int)len, self); 76 LCHAR* long_pron = transcription;
|
/external/srec/srec/Grammar/include/ |
SR_Grammar.h | 107 * Indicates if a transcription is a valid result of a Grammar rule. 110 * @param transcription Transcription value 113 * @return ESR_INVALID_ARGUMENT if self or transcription are null; ESR_INVALID_STATE if an internal error has occured. 115 ESR_ReturnCode(*checkParse)(struct SR_Grammar_t* self, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount); 500 * Checks if transcription is parsable by the grammar. 503 * @param transcription transcription to be checked 506 * @return ESR_INVALID_ARGUMENT if self, transcription are null; ESR_INVALID_STATE if an internal error has occured. 508 SREC_GRAMMAR_API ESR_ReturnCode SR_GrammarCheckParse(SR_Grammar* self, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount) [all...] |
SR_GrammarImpl.h | 170 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_CheckParse(SR_Grammar* self, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount);
|
/external/srec/srec/Grammar/src/ |
SR_Grammar.c | 173 ESR_ReturnCode SR_GrammarCheckParse(SR_Grammar* self, const LCHAR* transcription, SR_SemanticResult** result_void, size_t* resultCount) 181 return self->checkParse(self, transcription, result, resultCount);
|
SR_GrammarImpl.c | 646 ESR_ReturnCode SR_Grammar_CheckParse(SR_Grammar* self, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount) 652 if (transcription == NULL) 662 if (CA_CheckTranscription(impl->syntax, transcription, 0) == 0) 668 rc = impl->semproc->checkParse(impl->semproc, impl->semgraph, transcription, result, resultCount); 673 strcpy(copy_of_trans, transcription); 683 ESR_ReturnCode SR_GrammarAllowOnly(SR_Grammar* self, const char* transcription) 693 strcpy(copy_of, transcription); 719 i, wdid, transcription); */
|
/external/srec/srec/ca/ |
syn_srec.c | 333 int CA_CheckTranscription(CA_Syntax *hSyntax, const char *transcription, int no) 339 rc = FST_CheckPath(context, transcription, literal, max_literal_len); 340 if (rc == 0) strcpy((char*)transcription, literal);
|
/external/srec/srec/test/SRecTest/src/ |
SRecTest.c | 149 LCHAR transcription [MAX_LINE_LENGTH]; member in struct:ApplicationData_t 2696 LCHAR *transcription; local 2790 LCHAR *transcription; local [all...] |
/external/srec/srec/test/SRecTestAudio/src/ |
SRecTestAudio.c | 148 LCHAR transcription [MAX_LINE_LENGTH]; member in struct:ApplicationData_t [all...] |
/external/srec/srec/Recognizer/include/ |
SR_Recognizer.h | 463 * @param transcription Transcription for the utterance 466 * @param isInvocab True if the transcription is accepted by the grammar, False otherwise 471 const LCHAR* transcription, [all...] |
SR_RecognizerImpl.h | 145 /* sets the start offset and read_size at the end of recognition when endpointed transcription is known */ 523 const LCHAR* transcription,
|
/external/srec/srec/Recognizer/src/ |
Recognizer.c | 359 const LCHAR* transcription, 369 return self->logWaveformData(self, waveformFilename, transcription, bos, eos, isInvocab);
|
RecognizerImpl.c | [all...] |
/frameworks/base/core/java/android/speech/srec/ |
Recognizer.java | 688 // transcription, SR_SemanticResult** result, size_t* resultCount); 689 private static native void SR_GrammarAllowOnly(int grammar, String transcription);
|
/external/srec/srec_jni/ |
android_speech_srec_Recognizer.cpp | 420 (JNIEnv *env, jclass clazz, jint grammar, jstring transcription) { 421 const char* tr = env->GetStringUTFChars(transcription, 0); 423 env->ReleaseStringUTFChars(transcription, tr);
|