Home
last modified time | relevance | path

Searched refs:pfst (Results 1 – 3 of 3) sorted by relevance

/external/openfst/src/include/fst/
Dreplace-util.h433 VectorFst<Arc> pfst(depfst_); in ReplaceLabels()
434 for (StateId i = 0; i < pfst.NumStates(); ++i) { in ReplaceLabels()
436 for (ArcIterator< VectorFst<Arc> > aiter(pfst, i); in ReplaceLabels()
443 pfst.DeleteArcs(i); in ReplaceLabels()
445 pfst.AddArc(i, arcs[j]); in ReplaceLabels()
449 if (!GetTopOrder(pfst, &toporder)) { in ReplaceLabels()
459 for (ArcIterator< VectorFst<Arc> > aiter(pfst, s); in ReplaceLabels()
/external/srec/srec/include/
Dsrec_context.h207 int FST_LoadGraph(srec_context* pfst, wordmap* imap, wordmap* omap,
209 int FST_UnloadGraph(srec_context* pfst);
/external/srec/srec/crec/
Dsrec_context.c906 int FST_LoadGraph(srec_context* pfst, wordmap* imap, wordmap* omap, in FST_LoadGraph() argument
920 srec_context* fst = pfst; in FST_LoadGraph()
930 pfst->modelid = 0; in FST_LoadGraph()
936 pfst->modelid = strtoul(line + strlen("modelid:"), &p, 10); in FST_LoadGraph()
1125 int FST_UnloadGraph(srec_context* pfst) in FST_UnloadGraph() argument
1127 if (pfst->ilabels) in FST_UnloadGraph()
1128 FREE(pfst->ilabels); in FST_UnloadGraph()
1129 FREE(pfst->FSMarc_list); in FST_UnloadGraph()
1130 FREE(pfst->FSMnode_list); in FST_UnloadGraph()
1131 FREE(pfst->FSMnode_info_list); in FST_UnloadGraph()
[all …]