HomeSort by relevance Sort by last modified time
    Searched refs:recm (Results 1 - 12 of 12) sorted by null

  /external/srec/srec/crec/
c47mulsp.c 30 int add_acoustic_model_for_recognition(multi_srec* recm, const SWIModel* model)
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->num_activated_recs++
    [all...]
rec_norm.c 35 int inherit_recognition_statistics(utterance_info *utt, multi_srec *recm,
40 multi_srec_get_speech_bounds(recm, &speech_start, &speech_end);
srec_results.c 31 static srec* WHICH_RECOG(multi_srec* recm)
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)
53 srec* rec = WHICH_RECOG(recm);
76 int srec_has_results(multi_srec* recm)
78 srec* rec = WHICH_RECOG(recm);
92 int srec_clear_results(multi_srec* recm)
    [all...]
word_lattice.c 409 ESR_ReturnCode srec_get_top_choice_wordIDs(multi_srec* recm, wordID* wordIDs, size_t* len)
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)
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)
488 srec* rec = WHICH_RECOG(recm);
518 int srec_print_results(multi_srec *recm, int max_choices)
523 srec_get_top_choice_transcription(recm, transcription, MAX_LEN, 1);
524 srec_get_top_choice_score(recm, &cost, SCOREMODE_INCLUDE_SILENCE)
    [all...]
srec.c     [all...]
  /external/srec/srec/ca/
rec_resu.c 47 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);
rec_basi.c 66 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,
rec_load.c 57 rc = add_acoustic_model_for_recognition(hRecog->recm, hAcoust->swimodel);
69 rc = clear_acoustic_models_for_recognition(hRecog->recm);
syn_srec.c 312 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);
rec_nbes.c 48 newList = (CA_NBestList*)srec_nbest_prepare_list(hRecog->recm, num, bestScore);
  /external/srec/srec/include/
word_lattice.h 45 ESR_ReturnCode srec_get_top_choice_wordIDs(multi_srec* recm, wordID* wordIDs, size_t* len);
simapi.h 102 multi_srec *recm; /* contains recognition structure */ member in struct:__anon12656
    [all...]

Completed in 47 milliseconds