Home
last modified time | relevance | path

Searched refs:wordIDs (Results 1 – 12 of 12) sorted by relevance

/external/srec/srec/crec/
Dsrec_results.c231 ESR_ReturnCode srec_nbest_get_resultWordIDs(void* rec_void, size_t index, wordID* wordIDs, size_t* … in srec_nbest_get_resultWordIDs() argument
241 if (wordIDs) *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
249 if (len == NULL || wordIDs == NULL) in srec_nbest_get_resultWordIDs()
261 *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
265 *wordIDs = id; in srec_nbest_get_resultWordIDs()
266 ++wordIDs; in srec_nbest_get_resultWordIDs()
274 *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
278 *wordIDs = MAXwordID; in srec_nbest_get_resultWordIDs()
Dword_lattice.c174 ESR_ReturnCode sprint_word_token_backtraceByWordID(wordID* wordIDs, size_t* len, srec* rec, wtokenI… in sprint_word_token_backtraceByWordID() argument
194 wordIDs[currentLen] = wtoken->word; in sprint_word_token_backtraceByWordID()
209 wordID tmp = wordIDs[i]; in sprint_word_token_backtraceByWordID()
210 wordIDs[i] = wordIDs[(currentLen-1-i)]; in sprint_word_token_backtraceByWordID()
211 wordIDs[(currentLen-1-i)] = tmp; in sprint_word_token_backtraceByWordID()
214 if (currentLen >= 1 && wordIDs[0] == rec->context->beg_silence_word) in sprint_word_token_backtraceByWordID()
217 wordIDs[i] = wordIDs[i+1]; in sprint_word_token_backtraceByWordID()
220 if (currentLen >= 1 && wordIDs[currentLen-1] == rec->context->end_silence_word) in sprint_word_token_backtraceByWordID()
222 wordIDs[currentLen] = MAXwordID; in sprint_word_token_backtraceByWordID()
409 ESR_ReturnCode srec_get_top_choice_wordIDs(multi_srec* recm, wordID* wordIDs, size_t* len) argument
[all …]
/external/srec/tools/parseStringTest/
DparseStringTest.c109 wordID wordIDs[32], *wordIDptr; in Parse() local
145 wordIDs[0] = wordIDs[1] = MAXwordID; in Parse()
146 wordIDptr = &wordIDs[0]; in Parse()
157 wordIDs[0] = MAXwordID; in Parse()
168 if (wordIDs[0] == MAXwordID) in Parse()
178 wordIDs, semanticResults, &result_count); in Parse()
/external/srec/srec/ca/
Drec_nbes.c99 ESR_ReturnCode CA_NBestListGetResultWordIDs(CA_NBestList* nbest, size_t index, wordID* wordIDs, siz… in CA_NBestListGetResultWordIDs() argument
106 return srec_nbest_get_resultWordIDs(nbest, index, wordIDs, len, cost); in CA_NBestListGetResultWordIDs()
Drec_resu.c80 ESR_ReturnCode CA_FullResultWordIDs(CA_Recog *hRecog, wordID *wordIDs, size_t* len) in CA_FullResultWordIDs() argument
82 return srec_get_top_choice_wordIDs(hRecog->recm, wordIDs, len); in CA_FullResultWordIDs()
/external/srec/srec/Semproc/include/
DSR_SemanticProcessorImpl.h70 …ByWordID(SR_SemanticProcessor* self, SR_SemanticGraph* semgraph, wordID* wordIDs, SR_SemanticResul…
DSR_SemanticProcessor.h55 …struct SR_SemanticProcessor_t* self, SR_SemanticGraph* semgraph, wordID* wordIDs, SR_SemanticResul…
/external/srec/srec/include/
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.h2154 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/Semproc/src/
DSemanticProcessorImpl.c254 const wordID* wordIDs) in checkpath_forwardByWordID() argument
259 const wordID* currentWord = wordIDs; in checkpath_forwardByWordID()
271 currentWord = wordIDs; in checkpath_forwardByWordID()
471 wordID* wordIDs, in SR_SemanticProcessor_CheckParseByWordID() argument
505 wordIDs); in SR_SemanticProcessor_CheckParseByWordID()
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c1956 wordID wordIDs[WORDID_COUNT]; in SR_RecognizerCreateResultImpl() local
2147 …if (CA_NBestListGetResultWordIDs(resultImpl->nbestList, iBest, wordIDs, &len, &raws) != ESR_SUCCES… in SR_RecognizerCreateResultImpl()
2197 rc = CA_FullResultWordIDs(impl->recognizer, wordIDs, &len); in SR_RecognizerCreateResultImpl()
2202 … rc = CA_NBestListGetResultWordIDs(resultImpl->nbestList, iBest, wordIDs, &len, &raws) ; in SR_RecognizerCreateResultImpl()
2208 for (k = 0; wordIDs[k] != MAXwordID; ++k) in SR_RecognizerCreateResultImpl()
2211 wordk = CA_NBestListGetResultWord(resultImpl->nbestList,wordIDs[k]); in SR_RecognizerCreateResultImpl()
2233 wordIDs, semanticResults, &semanticResultsSize); in SR_RecognizerCreateResultImpl()