Home
last modified time | relevance | path

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

12345

/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()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dmutable-fst.h33 class MutableFst : public ExpandedFst<A> {
39 virtual MutableFst<A> &operator=(const Fst<A> &fst) = 0;
69 virtual MutableFst<A> *Copy() const = 0;
71 static MutableFst<A> *Read(istream &strm, const FstReadOptions &opts) { in Read()
96 return down_cast<MutableFst<A> *>(fst); in Read()
99 static MutableFst<A> *Read(const string &filename) { in Read()
163 typedef MutableFst<StdArc> StdMutableFst;
Dstatesort.h33 void StateSort(MutableFst<Arc> *fst, in StateSort()
51 for (StateIterator< MutableFst<Arc> > siter(*fst); in StateSort()
59 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s1); in StateSort()
68 for (ArcIterator< MutableFst<Arc> > aiter(*fst, s2); in StateSort()
Dreweight.h39 void Reweight(MutableFst<Arc> *fst, vector<typename Arc::Weight> potential, in Reweight()
58 for (StateIterator< MutableFst<Arc> > sit(*fst); in Reweight()
62 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); in Reweight()
91 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); in Reweight()
Dprune.h56 void Prune(MutableFst<Arc> *fst, in Prune()
97 for (MutableArcIterator< MutableFst<Arc> > it(fst, state); in Prune()
128 void Prune(MutableFst<Arc> *fst, typename Arc::Weight threshold) { in Prune()
142 MutableFst<Arc> *ofst, in Prune()
239 MutableFst<Arc> *ofst, in Prune()
Dpush.h41 void Push(MutableFst<Arc> *fst, ReweightType type) { in Push()
57 void Push(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, uint32 ptype) { in Push()
Dfst-decl.h36 template <class A> class MutableFst; variable
60 typedef MutableFst<StdArc> StdMutableFst;
Dclosure.h39 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) { in Closure()
46 for (StateIterator< MutableFst<Arc> > siter(*fst); in Closure()
/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()
Dconcat.h32 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Concat()
41 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in Concat()
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()
Dintersect.h35 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Intersect()
47 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Intersect()
Ddifference.h35 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Difference()
47 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Difference()
Dpush.h32 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); in Push()
48 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); in Push()
Dcompose.h34 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Compose()
48 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); in Compose()
/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()

12345