Home
last modified time | relevance | path

Searched refs:wordID (Results 1 – 25 of 25) sorted by relevance

/external/srec/srec/include/
Dsrec_context.h49 wordID num_words;
50 wordID num_slots;
51 wordID max_words;
52 wordID num_base_words; /* before any additions */
126 wordID addWordCaching_lastslot_num;
129 wordID addWordCaching_lastslot_ifsm_exit_point;
131 wordID beg_silence_word;
132 wordID end_silence_word;
133 wordID hack_silence_word;
222 int wordmap_whether_in_rule(wordmap* wmap, wordID word, wordID rule);
[all …]
Dastar.h62 wordID ilabel; /* input label */
75 wordID word; /* quick access to word (wta[token_index].word) */
125 arc_token* get_arc_for_word(arc_token* atoken, wordID word, void* context_void,
126 wordID terminal_word);
129 void* context_void, wordID terminal_word);
Dsrec.h50 wordID word; /* alternative word, diff from path b.p. */
70 wordID word[MAX_HMM]; /* when the path encounters an output
90 wordID word; /* when the path encounters an output*/
104 wordID word; /* the word just observed */
Dsrec_sizes.h30 typedef asr_uint16_t wordID; /*for word index*/ typedef
Dsrec_results.h44 …ESR_ReturnCode srec_nbest_get_resultWordIDs(void* nbest, size_t inde, wordID* wordIDs, size_t* len…
Dword_lattice.h45 ESR_ReturnCode srec_get_top_choice_wordIDs(multi_srec* recm, wordID* wordIDs, size_t* len);
Dsimapi.h216 short wordID; member
2154 ESR_ReturnCode CA_FullResultWordIDs(CA_Recog *hRecog, wordID *wordIDs, size_t* len);
2365 …ESR_ReturnCode CA_NBestListGetResultWordIDs(CA_NBestList* nbest, size_t iChoice, wordID* wordIDs, …
/external/srec/srec/crec/
Dsrec_context.c110 wordID olabel, costdata cost,
140 static ESR_ReturnCode wordmap_populate ( wordmap *word_map, wordID num_words );
338 Interface->max_words = (wordID)(num_words + num_words_to_add); in wordmap_create()
339 Interface->num_words = (wordID)0; in wordmap_create()
369 wordID wordmap_add_word(wordmap* wmap, const char* word);
373 wordID my_wID, wm_wID; in FST_LoadWordMap()
401 my_wID = (wordID)atoi_with_check(wID_string, MAXwordID); in FST_LoadWordMap()
446 wordID my_wID; in FST_DumpWordMap()
454 wordID wordmap_find_index(wordmap* wmap, const char* word) in wordmap_find_index()
471 return (wordID)(int)wdID_void; in wordmap_find_index()
[all …]
Dtext_parser.c39 wordID wdID; in check_word_path()
164 wordID k, wdid = wordmap_find_index(context->olabels, p); in FST_CheckPath_Complex()
Dword_lattice.c174 ESR_ReturnCode sprint_word_token_backtraceByWordID(wordID* wordIDs, size_t* len, srec* rec, wtokenI… in sprint_word_token_backtraceByWordID()
209 wordID tmp = wordIDs[i]; in sprint_word_token_backtraceByWordID()
409 ESR_ReturnCode srec_get_top_choice_wordIDs(multi_srec* recm, wordID* wordIDs, size_t* len)
Dsrec_results.c231 ESR_ReturnCode srec_nbest_get_resultWordIDs(void* rec_void, size_t index, wordID* wordIDs, size_t* … in srec_nbest_get_resultWordIDs()
236 wordID id; in srec_nbest_get_resultWordIDs()
Dsrec_debug.c99 wordID* wordids = &stoken->word[0]; in print_fsmarc_token()
Dastar.c67 arc_token* get_arc_for_word(arc_token* atoken, wordID word, in get_arc_for_word()
69 wordID terminal_word) in get_arc_for_word()
170 wordID terminal_word) in get_arc_for_word_without_slot_annotation()
176 wordID wdid = wordmap_find_index(wmap, word); in get_arc_for_word_without_slot_annotation()
Dpriority_q.c192 wordID word_to_add; in add_word_token_to_priority_q()
Dsrec.c718 wordID word, in srec_process_word_boundary_nbest()
835 wordID word_with_wtw; in do_epsilon_updates()
1570 wordID olabel; in update_from_current_fsm_nodes_into_new_HMMs()
1785 void srec_force_the_end(srec* rec, frameID end_frame, wordID end_word) in srec_force_the_end()
2360 wordID last_word; in multi_srec_get_speech_bounds()
/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c213 impl->script_olabel_offset = (wordID)tmp[i++]; in sr_semanticgraph_loadV2()
214 impl->scopes_olabel_offset = (wordID)tmp[i++]; in sr_semanticgraph_loadV2()
278 wordID ilabel = 0; in SR_SemanticGraph_LoadFromTextFiles()
291 wordID num_scope_words; in SR_SemanticGraph_LoadFromTextFiles()
438 olabel = (wordID)(olabel + semgraph->script_olabel_offset); /* the offset */ in SR_SemanticGraph_LoadFromTextFiles()
447 olabel = (wordID)(olabel + semgraph->scopes_olabel_offset); /* the offset */ in SR_SemanticGraph_LoadFromTextFiles()
801 arc_token* arc_tokens_find_ilabel(arc_token* base, arc_token* arc_token_list, wordID ilabel) in arc_tokens_find_ilabel()
1026 wordID wdID, scriptID, old_scriptID; in SR_SemanticGraph_AddWordToSlot()
1027 wordID slotID; in SR_SemanticGraph_AddWordToSlot()
1139 tmp->olabel = (wordID)(impl->script_olabel_offset + scriptID); in SR_SemanticGraph_AddWordToSlot()
[all …]
DSemanticProcessorImpl.c91 static const LCHAR* lookUpWord(SR_SemanticGraphImpl* semgraph, wordID wdid);
254 const wordID* wordIDs) in checkpath_forwardByWordID()
259 const wordID* currentWord = wordIDs; in checkpath_forwardByWordID()
363 wordID wdID; in checkpath_forward()
471 wordID* wordIDs, in SR_SemanticProcessor_CheckParseByWordID()
1163 static const LCHAR* lookUpWord(SR_SemanticGraphImpl* semgraph, wordID wdid) in lookUpWord()
/external/srec/srec/Semproc/include/
DSR_SemanticProcessorImpl.h70 …eckParseByWordID(SR_SemanticProcessor* self, SR_SemanticGraph* semgraph, wordID* wordIDs, SR_Seman…
DSR_SemanticProcessor.h55 …WordID)(struct SR_SemanticProcessor_t* self, SR_SemanticGraph* semgraph, wordID* wordIDs, SR_Seman…
DSR_SemanticGraphImpl.h116 arc_token* arc_tokens_find_ilabel(arc_token* base, arc_token* arc_token_list, wordID wdid);
/external/srec/srec/ca/
Drec_nbes.c99 ESR_ReturnCode CA_NBestListGetResultWordIDs(CA_NBestList* nbest, size_t index, wordID* wordIDs, siz… in CA_NBestListGetResultWordIDs()
Drec_resu.c80 ESR_ReturnCode CA_FullResultWordIDs(CA_Recog *hRecog, wordID *wordIDs, size_t* len) in CA_FullResultWordIDs()
/external/srec/tools/parseStringTest/
DparseStringTest.c109 wordID wordIDs[32], *wordIDptr; in Parse()
115 wordID id; in Parse()
152 *wordIDptr++ = (wordID)i; in Parse()
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c687 wordID wdids[32], nw = 0; in SR_GrammarAllowOnly()
704 wordID wdid = fst->FSMarc_list[i].olabel; in SR_GrammarAllowOnly()
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c1956 wordID wordIDs[WORDID_COUNT]; in SR_RecognizerCreateResultImpl()