/external/srec/srec/clib/ |
srec_arb.c | 66 int get_modelid_for_pic(srec_arbdata* allotree, phonemeID lphon, phonemeID cphon, phonemeID rphon) 69 tree_node* tnode = allotree->pdata[cphon].model_nodes; 72 ans = question_check(&allotree->questions[tnode->node.quest_index], 118 int get_modelids_for_pron(srec_arbdata* allotree, 126 if( allotree == NULL) 135 lphon = (phonemeID)allotree->phoneme_index[ SILENCE_CODE]; 136 cphon = (phonemeID)allotree->phoneme_index[ (unsigned)phonemes[0]]; 138 lphon = WBPHONEME_CODE; //(phonemeID)allotree->phoneme_index[ WBPHONEME_CODE]; 139 cphon = (phonemeID)allotree->phoneme_index[ (unsigned)phonemes[0]]; 146 (phonemeID)allotree->phoneme_index[ SILENCE_CODE] 286 srec_arbdata* allotree; local [all...] |
/external/srec/tools/make_cfst/ |
make_cfst.cpp | 107 srec_arbdata *allotree = (srec_arbdata*)ca_arbdata; local 133 silenceModelId = (modelID)get_modelid_for_pic(allotree, silencePhonId, silencePhonId, silencePhonId); 147 for(cphonId=0; cphonId<allotree->num_phonemes && cphonId<MAXPHID; cphonId++) { 148 cphon = allotree->pdata[cphonId].code; 149 printf("processing phoneme %d of %d %d %c\n", cphonId, allotree->num_phonemes, cphon, cphon); 151 for(lphonId=0; lphonId<allotree->num_phonemes && lphonId<MAXPHID; lphonId++) { 152 unsigned char lphon = allotree->pdata[lphonId].code; 153 for(rphonId=0; rphonId<allotree->num_phonemes && rphonId<MAXPHID; rphonId++) { 154 unsigned char rphon = allotree->pdata[rphonId].code; 156 modelId = (modelID)get_modelid_for_pic(allotree, lphonId, cphonId, rphonId) [all...] |
/external/srec/tools/make_ve_grammar/ |
make_ve_grammar.c | 97 srec_arbdata *allotree = NULL; local 142 allotree = (srec_arbdata*)ca_arbdata; 143 num_hmms = allotree->num_hmms; 201 if(ws_verify(allotree->hmm_infos[i].name)) 203 if(!strcmp(allotree->hmm_infos[i].name,"#")){ 209 if(strlen(allotree->hmm_infos[i].name)>0){ 215 i,allotree->hmm_infos[i].name,i,allotree->hmm_infos[i].name); 216 fprintf(pFile_map,"wd_hmm%d_%s %d\n",i,allotree->hmm_infos[i].name,num_wd++); 217 fprintf(pFile_Grev,"1\t3\twd_hmm%d_%s\n",i,allotree->hmm_infos[i].name) [all...] |
/external/srec/tools/test_swiarb/ |
test_swiarb.c | 63 srec_arbdata *allotree = NULL; local 131 allotree = (srec_arbdata*)ca_arbdata; 132 printf_vector("pel_ids: ", " %d", allotree->hmm_infos[model_sequence[j]].state_indices, 133 (unsigned int) allotree->hmm_infos[model_sequence[j]].num_states);
|
/external/srec/srec/ca/ |
syn_srec.c | 46 int CA_AttachArbdataToSyntax(CA_Syntax* syntax, CA_Arbdata* allotree) 49 rc = FST_AttachArbdata(syntax->synx, (srec_arbdata*)allotree); 268 srec_arbdata *allotree = (srec_arbdata*)ca_arbdata; local 269 return get_modelids_for_pron( allotree, 279 srec_arbdata *allotree = (srec_arbdata*)ca_arbdata; local 282 lphon_ID = (phonemeID)allotree->phoneme_index[ SILENCE_CODE]; 284 lphon_ID = WBPHONEME_CODE; //(phonemeID)allotree->phoneme_index[ WBPHONEME_CODE]; 288 lphon_ID = (phonemeID)allotree->phoneme_index[(const unsigned char)lphon]; 289 cphon_ID = (phonemeID)allotree->phoneme_index[(const unsigned char)cphon]; 292 rphon_ID = (phonemeID)allotree->phoneme_index[ SILENCE_CODE] [all...] |
/external/srec/srec/include/ |
srec_arb.h | 118 int get_modelid_for_pic(srec_arbdata* allotree, 121 int get_modelids_for_pron(srec_arbdata* allotree, const char* phonemes,
|
srec_context.h | 138 srec_arbdata *allotree; /* for addword, knows hmm to state conversion */ member in struct:srec_context
|
/external/srec/tools/grxmlcompile/ |
vocab.cpp | 288 srec_arbdata *allotree = (srec_arbdata*) m_CA_Arbdata; local 289 int numStates = allotree->hmm_infos[id].num_states; 294 stateIDs.push_back( allotree->hmm_infos[id].state_indices[ii] ); 296 std::cout << allotree->hmm_infos[id].state_indices[ii] ;
|
/external/srec/srec/crec/ |
srec_context.c | 889 fst->allotree = allophone_tree; [all...] |