/external/openfst/src/include/fst/ |
push.h | 118 // OFST obtained from IFST by pushing weights and/or labels according 124 void Push(const Fst<Arc> &ifst, 130 *ofst = ifst; 138 ArcMap(ifst, &gfst, ToGallicMapper<Arc, stype>()); 143 uwfst(ifst, RmWeightMapper<Arc>()); 165 ofst->SetOutputSymbols(ifst.OutputSymbols()); 169 *ofst = ifst;
|
mutable-fst.h | 134 Fst<A> *ifst = Fst<A>::Read(filename); local 135 if (!ifst) return 0; 136 if (ifst->Properties(kMutable, false)) { 137 return static_cast<MutableFst *>(ifst); 139 Fst<A> *ofst = Convert(*ifst, convert_type); 140 delete ifst;
|
state-map.h | 130 void StateMap(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { 137 ofst->SetInputSymbols(ifst.InputSymbols()); 142 ofst->SetOutputSymbols(ifst.OutputSymbols()); 146 uint64 iprops = ifst.Properties(kCopyProperties, false); 148 if (ifst.Start() == kNoStateId) { 154 if (ifst.Properties(kExpanded, false)) 155 ofst->ReserveStates(CountStates(ifst)); 156 for (StateIterator< Fst<A> > siter(ifst); !siter.Done(); siter.Next()) 161 for (StateIterator< Fst<A> > siter(ifst); !siter.Done(); siter.Next()) { 177 void StateMap(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) [all...] |
visit.h | 202 void InitVisit(const Fst<A> &ifst) { 203 ifst_ = &ifst; 255 void InitVisit(const Fst<A> &ifst) { 257 start_ = ifst.Start();
|
arc-map.h | 200 void ArcMap(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { 207 ofst->SetInputSymbols(ifst.InputSymbols()); 212 ofst->SetOutputSymbols(ifst.OutputSymbols()); 216 uint64 iprops = ifst.Properties(kCopyProperties, false); 218 if (ifst.Start() == kNoStateId) { 224 if (ifst.Properties(kExpanded, false)) { 225 ofst->ReserveStates(CountStates(ifst) + 230 for (StateIterator< Fst<A> > siter(ifst); !siter.Done(); siter.Next()) 238 for (StateIterator< Fst<A> > siter(ifst); !siter.Done(); siter.Next()) { 240 if (s == ifst.Start() [all...] |
randgen.h | 613 void InitVisit(const Fst<IArc> &ifst) { 614 ifst_ = &ifst; 617 ofst_->SetInputSymbols(ifst.InputSymbols()); 618 ofst_->SetOutputSymbols(ifst.OutputSymbols()); 619 if (ifst.Properties(kError, false)) 681 void RandGen(const Fst<IArc> &ifst, MutableFst<OArc> *ofst, 688 Sampler* arc_sampler = new Sampler(ifst, opts.arc_selector, opts.max_length); 692 RandFst rfst(ifst, fopts); 704 void RandGen(const Fst<IArc> &ifst, MutableFst<OArc> *ofst) { 707 RandGen(ifst, ofst, opts) [all...] |
replace-util.h | 281 const Fst<Arc> *ifst = fst_array_[i]; local 282 if (!ifst) 284 for (StateIterator<Fst<Arc> > siter(*ifst); !siter.Done(); siter.Next()) { 288 if (ifst->Final(s) != Weight::Zero()) 291 for (ArcIterator<Fst<Arc> > aiter(*ifst, s);
|
determinize.h | [all...] |
synchronize.h | 449 void Synchronize(const Fst<Arc> &ifst, MutableFst<Arc> *ofst) { 452 *ofst = SynchronizeFst<Arc>(ifst, opts);
|
fst.h | 929 template<class F, class G> void Cast(const F &ifst, G *ofst) { 930 ofst->SetImpl(reinterpret_cast<typename G::Impl *>(ifst.GetImpl()), false);
|
/external/openfst/src/include/fst/script/ |
intersect.h | 56 void Intersect(const FstClass &ifst, const FstClass &ifst2,
|
rmepsilon.h | 136 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>()); local 143 Reverse(ifst, &rfst); 147 *ofst = ifst; 190 void RmEpsilon(const FstClass &ifst, MutableFstClass *ofst,
|
shortest-distance.h | 237 void ShortestDistance(const FstClass &ifst, vector<WeightClass> *distance, 242 WeightClass ShortestDistance(const FstClass &ifst);
|
/external/openfst/src/include/fst/extensions/pdt/ |
pdtscript.h | 115 void PdtExpand(const FstClass &ifst, 119 void PdtExpand(const FstClass &ifst, 180 void PdtReverse(const FstClass &ifst, 246 void PdtShortestPath(const FstClass &ifst, 270 void PrintPdtInfo(const FstClass &ifst,
|
shortest-path.h | 392 PdtShortestPath(const Fst<Arc> &ifst, 396 ifst_(ifst.Copy()), 399 start_(ifst.Start()), 776 void ShortestPath(const Fst<Arc> &ifst, 781 PdtShortestPath<Arc, Queue> psp(ifst, parens, opts); 786 void ShortestPath(const Fst<Arc> &ifst, 792 PdtShortestPath<Arc, Queue> psp(ifst, parens, opts);
|
expand.h | 346 // Constructor taking as input a PDT specified by 'ifst' and 'parens'. 350 PrunedExpand(const Fst<A> &ifst, 354 : ifst_(ifst.Copy()), 357 efst_(ifst, parens, [all...] |