Lines Matching full:nbest
56 void CA_DeleteNBestList(CA_NBestList *nbest)
58 if (nbest)
59 srec_nbest_destroy_list(nbest);
63 END_CATCH_CA_EXCEPT(nbest)
67 int CA_NBestListCount(CA_NBestList *nbest)
70 if (nbest)
71 return srec_nbest_get_num_choices(nbest);
75 END_CATCH_CA_EXCEPT(nbest)
78 int CA_NBestListGetResultConfidenceValue(CA_NBestList *nbest, size_t choice, int *value)
80 if (nbest)
82 *value =srec_nbest_get_confidence_value(nbest, choice);
89 int CA_NBestListRemoveResult(CA_NBestList *nbest, int index)
91 return srec_nbest_remove_result(nbest,index);
94 LCHAR* CA_NBestListGetResultWord(CA_NBestList* nbest, size_t iChoice)
96 return srec_nbest_get_word(nbest,iChoice);
99 ESR_ReturnCode CA_NBestListGetResultWordIDs(CA_NBestList* nbest, size_t index, wordID* wordIDs, size_t* len, asr_int32_t* cost)
101 if (!nbest)
106 return srec_nbest_get_resultWordIDs(nbest, index, wordIDs, len, cost);