Home
last modified time | relevance | path

Searched refs:MutableFst (Results 1 – 25 of 75) sorted by relevance

123

/external/openfst/src/include/fst/
Dmutable-fst.h41 class MutableFst : public ExpandedFst<A> {
47 virtual MutableFst<A> &operator=(const Fst<A> &fst) = 0;
49 MutableFst<A> &operator=(const MutableFst<A> &fst) {
85 virtual MutableFst<A> *Copy(bool safe = false) const = 0;
88 static MutableFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
113 return static_cast<MutableFst<A> *>(fst); in Read()
120 static MutableFst<A> *Read(const string &filename, bool convert = false,
137 return static_cast<MutableFst *>(ifst);
144 return static_cast<MutableFst *>(ofst);
220 typename A::Weight Final(const MutableFst<A> &fst, typename A::StateId s) { in Final()
[all …]
Dstatesort.h38 void StateSort(MutableFst<Arc> *fst, in StateSort()
60 for (StateIterator< MutableFst<Arc> > siter(*fst); in StateSort()
68 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s1); in StateSort()
77 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s2); in StateSort()
Dpush.h62 void RemoveWeight(MutableFst<Arc> *fst, typename Arc::Weight w, bool at_final) { in RemoveWeight()
68 for (StateIterator< MutableFst<Arc> > sit(*fst); in RemoveWeight()
76 for (MutableArcIterator<MutableFst<Arc> > ait(fst, start); in RemoveWeight()
98 void Push(MutableFst<Arc> *fst,
125 MutableFst<Arc> *ofst,
Dmap.h32 void Map(MutableFst<A> *fst, C* mapper) { in Map()
37 void Map(MutableFst<A> *fst, C mapper) { in Map()
42 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { in Map()
47 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) { in Map()
Dreweight.h44 void Reweight(MutableFst<Arc> *fst, in Reweight()
68 StateIterator< MutableFst<Arc> > sit(*fst); in Reweight()
75 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); in Reweight()
111 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); in Reweight()
Dprune.h100 void Prune(MutableFst<Arc> *fst, in Prune()
153 for (MutableArcIterator< MutableFst<Arc> > ait(fst, s); in Prune()
197 void Prune(MutableFst<Arc> *fst,
218 MutableFst<Arc> *ofst, in Prune()
328 MutableFst<Arc> *ofst,
Dreplace-util.h45 MutableFst<Arc> *, typename Arc::Label, bool);
62 typedef pair<Label, MutableFst<Arc>*> MutableFstPair;
180 vector<MutableFst<Arc> *> mutable_fst_array_; // MutableFst per ID
204 MutableFst<Arc> *fst = fst_pairs[i].second; in ReplaceUtil()
392 MutableFst<Arc> *fst = mutable_fst_array_[i]; in Connect()
541 MutableFst<Arc> *fst = mutable_fst_array_[i]; in GetMutableFstPairs()
Dclosure.h46 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) { in Closure()
53 for (StateIterator< MutableFst<Arc> > siter(*fst); in Closure()
Drelabel.h55 MutableFst<A> *fst, in Relabel()
74 for (StateIterator<MutableFst<A> > siter(*fst); in Relabel()
77 for (MutableArcIterator<MutableFst<A> > aiter(fst, s); in Relabel()
125 void Relabel(MutableFst<A> *fst, in Relabel()
134 void Relabel(MutableFst<A> *fst, in Relabel()
Dminimize.h455 const Partition<typename A::StateId>& partition, MutableFst<A>* fst) { in MergeStates()
469 for (MutableArcIterator<MutableFst<A> > aiter(fst, s); in MergeStates()
487 void AcceptorMinimize(MutableFst<A>* fst) { in AcceptorMinimize()
531 void Minimize(MutableFst<A>* fst,
532 MutableFst<A>* sfst = 0,
/external/openfst/src/include/fst/script/
Dfst-class.h109 static_cast<MutableFst<Arc> *>(impl_)->SetInputSymbols(is); in SetInputSymbols()
114 static_cast<MutableFst<Arc> *>(impl_)->SetOutputSymbols(os); in SetOutputSymbols()
161 return ReadTypedFst<MutableFstClass, MutableFst<Arc> >(stream, opts); in Read()
281 explicit MutableFstClass(const MutableFst<Arc> &fst) : in MutableFstClass()
285 MutableFst<Arc> *GetMutableFst() { in GetMutableFst()
287 MutableFst<Arc> *mfst = static_cast<MutableFst<Arc> *>(fst); in GetMutableFst()
295 MutableFst<Arc> *mfst = MutableFst<Arc>::Read(stream, opts); in Read()
Dprune.h80 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Prune()
98 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in Prune()
114 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in Prune()
125 MutableFst<Arc> *fst = args->arg1->GetMutableFst<Arc>(); in Prune()
Drelabel.h41 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Relabel()
54 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Relabel()
75 MutableFst<Arc> *fst = args->arg1->GetMutableFst<Arc>(); in Relabel()
Dminimize.h31 MutableFst<Arc> *ofst1 = args->arg1->GetMutableFst<Arc>(); in Minimize()
32 MutableFst<Arc> *ofst2 = args->arg2 ? args->arg2->GetMutableFst<Arc>() : 0; in Minimize()
Drmepsilon.h65 void RmEpsilonHelper(MutableFst<Arc> *fst, in RmEpsilonHelper()
137 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in RmEpsilon()
159 MutableFst<Arc> *fst = args->arg1->GetMutableFst<Arc>(); in RmEpsilon()
171 MutableFst<Arc> *fst = args->arg1->GetMutableFst<Arc>(); in RmEpsilon()
Dconcat.h32 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Concat()
41 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in Concat()
Dpush.h32 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Push()
48 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in Push()
Dintersect.h35 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Intersect()
47 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Intersect()
Dcompose.h34 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Compose()
48 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Compose()
Ddifference.h35 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Difference()
47 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Difference()
Dinvert.h32 MutableFst<Arc> *typed_fst = fst->GetMutableFst<Arc>(); in Invert()
Dconnect.h32 MutableFst<Arc> *typed_fst = fst->GetMutableFst<Arc>(); in Connect()
Dtopsort.h31 MutableFst<Arc> *fst = args->args->GetMutableFst<Arc>(); in TopSort()
Dproject.h31 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Project()
/external/openfst/src/include/fst/extensions/pdt/
Dpdtscript.h58 MutableFst<Arc> *ofst = args->arg4->GetMutableFst<Arc>(); in PdtCompose()
101 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in PdtExpand()
137 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in PdtReplace()
169 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in PdtReverse()
209 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in PdtShortestPath()

123