Home
last modified time | relevance | path

Searched refs:nbest (Results 1 – 15 of 15) sorted by relevance

/external/srec/srec/ca/
Drec_nbes.c56 void CA_DeleteNBestList(CA_NBestList *nbest) in CA_DeleteNBestList() argument
58 if (nbest) in CA_DeleteNBestList()
59 srec_nbest_destroy_list(nbest); in CA_DeleteNBestList()
63 END_CATCH_CA_EXCEPT(nbest) in CA_DeleteNBestList()
67 int CA_NBestListCount(CA_NBestList *nbest) in CA_NBestListCount() argument
70 if (nbest) in CA_NBestListCount()
71 return srec_nbest_get_num_choices(nbest); in CA_NBestListCount()
75 END_CATCH_CA_EXCEPT(nbest) in CA_NBestListCount()
78 int CA_NBestListGetResultConfidenceValue(CA_NBestList *nbest, size_t choice, int *value) in CA_NBestListGetResultConfidenceValue() argument
80 if (nbest) in CA_NBestListGetResultConfidenceValue()
[all …]
/external/speex/libspeex/
Dvq.c76 …px_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *bes… in vq_nbest() argument
95 nbest[k] = nbest[k-1]; in vq_nbest()
98 nbest[k]=i; in vq_nbest()
110 …px_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *bes… in vq_nbest_sign() argument
137 nbest[k] = nbest[k-1]; in vq_nbest_sign()
140 nbest[k]=i; in vq_nbest_sign()
143 nbest[k]+=entries; in vq_nbest_sign()
Dvq_sse.h36 …_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *bes… in vq_nbest() argument
62 nbest[k] = nbest[k-1]; in vq_nbest()
65 nbest[k]=i; in vq_nbest()
75 …_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *bes… in vq_nbest_sign() argument
111 nbest[k] = nbest[k-1]; in vq_nbest_sign()
114 nbest[k]=i; in vq_nbest_sign()
117 nbest[k]+=entries; in vq_nbest_sign()
Dvq_bfin.h37 …px_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *bes… in vq_nbest() argument
67 : "=&D" (dist), "=&a" (codebook), "=&d" (best_dist[0]), "=&d" (nbest[0]), "=&a" (E) in vq_nbest()
68 …, "a" (2), "d" (entries), "d" (len<<1), "1" (codebook), "4" (E), "2" (best_dist[0]), "3" (nbest[0]) in vq_nbest()
99 nbest[k] = nbest[k-1]; in vq_nbest()
102 nbest[k]=i; in vq_nbest()
Dvq_arm4.h36 …px_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *bes… in vq_nbest() argument
93 *nbest=i; in vq_nbest()
99 *nbest=i+1; in vq_nbest()
105 *nbest=i+2; in vq_nbest()
111 *nbest=i+3; in vq_nbest()
Dvq.h45 …*in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *bes…
47 …*in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *bes…
49 …px_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *bes…
51 …px_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *bes…
Dltp.c564 VARDECL(int *nbest); in pitch_search_3tap()
576 ALLOC(nbest, N, int); in pitch_search_3tap()
609 open_loop_nbest_pitch(sw, start, end, nsf, nbest, NULL, N, stack); in pitch_search_3tap()
611 nbest[0] = start; in pitch_search_3tap()
619 pitch=nbest[i]; in pitch_search_3tap()
/external/srec/srec/Recognizer/src/
DRecognizerResult.c46 ESR_ReturnCode SR_RecognizerResultGetKeyCount(const SR_RecognizerResult* self, const size_t nbest, … in SR_RecognizerResultGetKeyCount() argument
53 return self->getKeyCount(self, nbest, count); in SR_RecognizerResultGetKeyCount()
56 ESR_ReturnCode SR_RecognizerResultGetKeyList(const SR_RecognizerResult* self, const size_t nbest, L… in SR_RecognizerResultGetKeyList() argument
63 return self->getKeyList(self, nbest, list, size); in SR_RecognizerResultGetKeyList()
66 ESR_ReturnCode SR_RecognizerResultGetValue(const SR_RecognizerResult* self, const size_t nbest, con… in SR_RecognizerResultGetValue() argument
73 return self->getValue(self, nbest, key, value, len); in SR_RecognizerResultGetValue()
DRecognizerResultImpl.c104 const size_t nbest, size_t* count) in SR_RecognizerResult_GetKeyCount() argument
112 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); in SR_RecognizerResult_GetKeyCount()
125 const size_t nbest, LCHAR** list, size_t* listSize) in SR_RecognizerResult_GetKeyList() argument
133 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); in SR_RecognizerResult_GetKeyList()
147 ESR_ReturnCode SR_RecognizerResult_GetValue(const SR_RecognizerResult* self, const size_t nbest, in SR_RecognizerResult_GetValue() argument
160 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results)); in SR_RecognizerResult_GetValue()
192 key, nbest, *len ); in SR_RecognizerResult_GetValue()
227 size_t nbest, i, j, num_semanticResults; in SR_RecognizerResult_Destroy() local
233 CHKLOG(rc, impl->results->getSize(impl->results, &nbest)); in SR_RecognizerResult_Destroy()
234 for (i = 0; i < nbest; ++i) in SR_RecognizerResult_Destroy()
/external/srec/srec/Recognizer/include/
DSR_RecognizerResult.h70 ESR_ReturnCode(*getKeyCount)(const struct SR_RecognizerResult_t* self, const size_t nbest,
84 ESR_ReturnCode(*getKeyList)(const struct SR_RecognizerResult_t* self, const size_t nbest,
98 ESR_ReturnCode(*getValue)(const struct SR_RecognizerResult_t* self, const size_t nbest,
142 const size_t nbest,
157 const size_t nbest,
173 const size_t nbest,
DSR_RecognizerResultImpl.h93 const size_t nbest,
99 const size_t nbest,
106 const size_t nbest,
/external/srec/srec/include/
Dsrec_results.h37 void srec_nbest_destroy_list(void* nbest);
38 int srec_nbest_get_num_choices(void* nbest);
42 …int srec_nbest_get_result(void* nbest, int n, char* label, int label_len, asr_int32_t* cost, int w…
43 LCHAR* srec_nbest_get_word(void* nbest, size_t choice);
44 …ESR_ReturnCode srec_nbest_get_resultWordIDs(void* nbest, size_t inde, wordID* wordIDs, size_t* len…
Dsimapi.h2365 …ESR_ReturnCode CA_NBestListGetResultWordIDs(CA_NBestList* nbest, size_t iChoice, wordID* wordIDs, …
/external/srec/srec_jni/
Dandroid_speech_srec_Recognizer.cpp488 (JNIEnv *env, jclass clazz, jint recognizer, jint nbest) { in Java_android_speech_srec_Recognizer_SR_1RecognizerResultGetKeyCount() argument
490 …Error(env, SR_RecognizerResultGetKeyCount(((SR_RecognizerImpl*)recognizer)->result, nbest, &size)); in Java_android_speech_srec_Recognizer_SR_1RecognizerResultGetKeyCount()
495 (JNIEnv *env, jclass clazz, jint recognizer, jint nbest) { in Java_android_speech_srec_Recognizer_SR_1RecognizerResultGetKeyList() argument
499 … = SR_RecognizerResultGetKeyList(((SR_RecognizerImpl*)recognizer)->result, nbest, list, &listSize); in Java_android_speech_srec_Recognizer_SR_1RecognizerResultGetKeyList()
525 (JNIEnv *env, jclass clazz, jint recognizer, jint nbest, jstring key) { in Java_android_speech_srec_Recognizer_SR_1RecognizerResultGetValue() argument
529 …s = SR_RecognizerResultGetValue(((SR_RecognizerImpl*)recognizer)->result, nbest, ke, rtn, &rtnLeng… in Java_android_speech_srec_Recognizer_SR_1RecognizerResultGetValue()
/external/srec/srec/crec/
Dsrec_results.c198 LCHAR* srec_nbest_get_word(void* nbest, size_t choice) in srec_nbest_get_word() argument
200 srec* rec = (srec*)nbest; in srec_nbest_get_word()