Searched refs:myCfst (Results 1 – 1 of 1) sorted by relevance
/external/srec/tools/make_cfst/ |
D | make_cfst.cpp | 81 fst::StdVectorFst myCfst; in main() local 125 stateSt = myCfst.AddState(); // 1st state will be state 0 (returned by AddState) in main() 126 stateEn = myCfst.AddState(); in main() 127 myCfst.SetStart(stateSt); // arg is state ID in main() 128 myCfst.SetFinal(stateEn, 0.0); // 1st arg is state ID, 2nd arg weight in main() 129 myCfst.AddArc(stateEn, fst::StdArc(EPSILON_LABEL, EPSILON_LABEL, 0.0, stateSt)); in main() 181 minifst[modelId].stateSt = (stateN = myCfst.AddState()); in main() 182 minifst[modelId].stateEn = (stateNp1 = myCfst.AddState()); /* n plus 1 */ in main() 183 myCfst.AddArc( stateN, fst::StdArc(cphon,modelId,0.0,stateNp1)); in main() 184 myCfst.AddArc( stateNp1, fst::StdArc(WORD_BOUNDARY,WORD_BOUNDARY,0.0,stateNp1)); in main() [all …]
|