Searched refs:recm (Results 1 - 12 of 12) sorted by relevance

/external/srec/srec/crec/
H A Dc47mulsp.c30 int add_acoustic_model_for_recognition(multi_srec* recm, const SWIModel* model) argument
32 if (recm->num_swimodels >= MAX_ACOUSTIC_MODELS)
37 if (recm->num_activated_recs >= recm->num_allocated_recs)
43 if (recm->rec[0].num_model_slots_allocated < model->num_hmmstates)
46 recm->rec[0].num_model_slots_allocated,
51 recm->swimodel[ recm->num_swimodels] = model;
52 recm->num_swimodels++;
54 recm
58 clear_acoustic_models_for_recognition(multi_srec* recm) argument
65 begin_recognition(multi_srec *recm, int begin_syn_node) argument
78 end_recognition(multi_srec *recm) argument
91 activate_grammar_for_recognition(multi_srec* recm, srec_context* grammar, const char* rule) argument
118 clear_grammars_for_recognition(multi_srec* recm) argument
[all...]
H A Drec_norm.c35 int inherit_recognition_statistics(utterance_info *utt, multi_srec *recm, argument
40 multi_srec_get_speech_bounds(recm, &speech_start, &speech_end);
H A Dsrec_results.c31 static srec* WHICH_RECOG(multi_srec* recm) argument
37 for (i = 0; i < recm->num_activated_recs; i++)
40 if (current_best_cost > recm->rec[i].current_best_cost)
42 current_best_cost = recm->rec[i].current_best_cost;
43 return_rec = &recm->rec[i];
51 int srec_get_bestcost_recog_id(multi_srec* recm, int* id) argument
53 srec* rec = WHICH_RECOG(recm);
76 int srec_has_results(multi_srec* recm) argument
78 srec* rec = WHICH_RECOG(recm);
92 int srec_clear_results(multi_srec* recm) argument
108 srec_nbest_prepare_list(multi_srec* recm, int n, asr_int32_t* bestcost) argument
[all...]
H A Dword_lattice.c409 ESR_ReturnCode srec_get_top_choice_wordIDs(multi_srec* recm, wordID* wordIDs, size_t* len) argument
411 srec* rec = WHICH_RECOG(recm);
444 int srec_get_top_choice_transcription(multi_srec* recm, char *transcription, int len, int whether_strip_slot_markers) argument
447 srec* rec = WHICH_RECOG(recm);
457 if( recm->eos_status == VALID_SPEECH_NOT_YET_DETECTED)
486 int srec_get_top_choice_score(multi_srec* recm, bigcostdata *cost, int do_incsil) argument
488 srec* rec = WHICH_RECOG(recm);
518 int srec_print_results(multi_srec *recm, int max_choices) argument
523 srec_get_top_choice_transcription(recm, transcription, MAX_LEN, 1);
524 srec_get_top_choice_score(recm,
[all...]
H A Dsrec.c2002 int multi_srec_viterbi(multi_srec *recm, argument
2009 ASSERT(recm->num_activated_recs == recm->num_swimodels);
2010 if (recm->num_activated_recs == 1)
2013 srec* rec1 = &recm->rec[0];
2019 srec_viterbi_part1(&recm->rec[0], recm->swimodel[0], pattern, DO_NOT_COMPUTE_MODEL);
2021 reset_cost_offsets(recm, rec1->current_search_frame, rec1->current_best_cost);
2024 srec_viterbi_part2(&recm->rec[0]);
2025 eosrc1 = srec_check_end_of_speech(eosd, &recm
2356 multi_srec_get_speech_bounds(multi_srec* recm, frameID* start_frame, frameID* end_frame) argument
[all...]
/external/srec/srec/ca/
H A Drec_resu.c47 srec_get_top_choice_score(hRecog->recm, &cost, do_incsil);
59 rc = srec_get_top_choice_transcription(hRecog->recm, label, len, 1);
76 srec_get_bestcost_recog_id(hRecog->recm, id);
82 return srec_get_top_choice_wordIDs(hRecog->recm, wordIDs, len);
90 srec_clear_results(hRecog->recm);
103 if (!srec_has_results(hRecog->recm))
113 return multi_srec_get_eos_status(hRecog->recm);
H A Drec_basi.c66 hRecog->recm = (multi_srec*)CALLOC_CLR(1, sizeof(multi_srec), "ca.hRecog.srec");
81 rc = allocate_recognition(hRecog->recm,
123 free_recognition(hRecog->recm);
145 FREE(hRecog->recm);
168 begin_recognition(hRecog->recm, first_syntax_node);
193 rc = multi_srec_viterbi(hRecog->recm,
221 end_recognition(hRecog->recm);
225 if (!inherit_recognition_statistics(&hUtterance->data, hRecog->recm,
H A Drec_load.c57 rc = add_acoustic_model_for_recognition(hRecog->recm, hAcoust->swimodel);
69 rc = clear_acoustic_models_for_recognition(hRecog->recm);
H A Dsyn_srec.c312 rc = activate_grammar_for_recognition(hRecog->recm, hSyntax->synx, rule);
325 if(!hSyntax->synx || !hRecog->recm)
327 hSyntax->synx->max_searchable_nodes = hRecog->recm->max_fsm_nodes;
328 hSyntax->synx->max_searchable_arcs = hRecog->recm->max_fsm_arcs;
357 rc = clear_grammars_for_recognition(hRecog->recm);
H A Drec_nbes.c48 newList = (CA_NBestList*)srec_nbest_prepare_list(hRecog->recm, num, bestScore);
/external/srec/srec/include/
H A Dword_lattice.h45 ESR_ReturnCode srec_get_top_choice_wordIDs(multi_srec* recm, wordID* wordIDs, size_t* len);
H A Dsimapi.h102 multi_srec *recm; /* contains recognition structure */ member in struct:__anon31135

Completed in 754 milliseconds