Lines Matching refs:myCfst
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()
189 minifst[modelId].lcontext_state[lphonId] = myCfst.AddState(); in main()
190 myCfst.AddArc( minifst[modelId].lcontext_state[lphonId], in main()
196 minifst[modelId].rcontext_state[rphonId] = myCfst.AddState(); in main()
197 myCfst.AddArc( minifst[modelId].stateEn, in main()
214 myCfst.AddArc( minifst[modelId].stateEn, in main()
221 myCfst.AddArc( stateSt, in main()
224 myCfst.AddArc( minifst[silenceModelId].stateEn, in main()
229 fst::StdVectorFst* ofst = &myCfst; in main()
232 fst::Invert(&myCfst); in main()
236 fst::RmEpsilon( &myCfst, FLAGS_connect); in main()
239 fst::Determinize(myCfst, &fst2); in main()