/external/openfst/src/include/fst/extensions/ngram/ |
H A D | ngram-fst.h | 45 typedef typename A::StateId StateId; typedef in struct:fst::NGramFstInst 47 StateId state_; 51 StateId node_state_; 53 StateId context_state_; 77 typedef typename A::StateId StateId; typedef in class:fst::NGramFstImpl 87 NGramFstImpl(const Fst<A> &fst, vector<StateId>* order_out); 136 StateId Start() const { 140 Weight Final(StateId stat 284 typedef typename Arc::StateId StateId; typedef 639 typedef typename A::StateId StateId; typedef in class:fst::NGramFst 754 typedef typename A::StateId StateId; typedef in class:fst::NGramFstMatcher 862 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator 964 typedef typename A::StateId StateId; typedef in class:fst::StateIterator [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | randgen.h | 43 typedef typename A::StateId StateId; typedef in struct:fst::UniformArcSelector 48 size_t operator()(const Fst<A> &fst, StateId s) const { 64 typedef typename A::StateId StateId; typedef in struct:fst::LogProbArcSelector 69 size_t operator()(const Fst<A> &fst, StateId s) const {
|
H A D | arcsum.h | 58 typedef typename A::StateId StateId; typedef 62 StateId s = siter.Value();
|
H A D | equal.h | 29 typedef typename Arc::StateId StateId; typedef 45 StateId s1 = siter1.Value(); 46 StateId s2 = siter2.Value();
|
H A D | prune.h | 59 typedef typename Arc::StateId StateId; typedef 67 StateId ns = fst->NumStates(); 87 vector<StateId> dead; 92 for (StateId state = 0; state < ns; ++state) { 145 typedef typename Arc::StateId StateId; typedef 171 vector<StateId> copy; 180 StateId state = sit.Value();
|
H A D | map.h | 82 typedef typename A::StateId StateId; typedef 91 StateId superfinal = kNoStateId; 97 for (StateId s = 0; s < fst->NumStates(); ++s) { 159 typedef typename A::StateId StateId; typedef 174 StateId superfinal = kNoStateId; 180 StateId s = siter.Value(); 267 typedef typename B::StateId StateId; typedef in class:fst::MapFstImpl 461 typedef typename B::StateId StateId; typedef in class:fst::MapFst 543 typedef typename B::StateId StateId; typedef in class:fst::StateIterator 596 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator 760 typedef typename A::StateId StateId; typedef in struct:fst::GallicToNewSymbolsMapper [all...] |
H A D | equivalent.h | 37 // disjoint, we map Arc::StateId on the type MappedId. The states of 46 typedef typename Arc::StateId StateId; typedef in struct:fst::EquivalenceUtil 59 static MappedId MapState(StateId s, int32 which_fst) { 68 static StateId UnMapState(MappedId id) { 69 return static_cast<StateId>((--id) >> 1); 140 typedef typename Arc::StateId StateId; typedef
|
/external/openfst/src/include/fst/ |
H A D | equal.h | 32 typedef typename Arc::StateId StateId; typedef 48 StateId s1 = siter1.Value(); 49 StateId s2 = siter2.Value();
|
H A D | statesort.h | 39 const vector<typename Arc::StateId> &order) { 40 typedef typename Arc::StateId StateId; typedef 63 StateId s1 = siter.Value(), s2;
|
H A D | compose.h | 120 typedef typename A::StateId StateId; typedef in class:fst::ComposeFstImplBase 150 StateId Start() { 152 StateId start = ComputeStart(); 160 Weight Final(StateId s) { 168 virtual void Expand(StateId s) = 0; 170 size_t NumArcs(StateId s) { 176 size_t NumInputEpsilons(StateId s) { 182 size_t NumOutputEpsilons(StateId s) { 188 void InitArcIterator(StateId 208 typedef typename Arc::StateId StateId; typedef in class:fst::ComposeFstImpl 509 typedef typename A::StateId StateId; typedef in class:fst::ComposeFst 638 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator [all...] |
H A D | compose-filter.h | 179 // void SetState(StateId s1, StateId s2, const FilterState &f); 216 typedef typename Arc::StateId StateId; typedef in class:fst::SequenceComposeFilter 245 void SetState(StateId s1, StateId s2, const FilterState &f) { 280 StateId s1_; // Current fst1_ state; 281 StateId s2_; // Current fst2_ state; 301 typedef typename Arc::StateId StateId; typedef in class:fst::AltSequenceComposeFilter 387 typedef typename Arc::StateId StateId; typedef in class:fst::MatchComposeFilter 490 typedef typename Arc::StateId StateId; typedef in class:fst::MultiEpsFilter [all...] |
H A D | equivalent.h | 47 // disjoint, we map Arc::StateId on the type MappedId. The states of 56 typedef typename Arc::StateId StateId; typedef in struct:fst::EquivalenceUtil 58 typedef StateId MappedId; // ID for an equivalence class. 69 static MappedId MapState(StateId s, int32 which_fst) { 78 static StateId UnMapState(MappedId id) { 79 return static_cast<StateId>((--id) >> 1); 174 typedef typename Arc::StateId StateId; typedef
|
H A D | intersect.h | 68 typedef typename A::StateId StateId; typedef in class:fst::IntersectFst 119 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator 121 ArcIterator(const IntersectFst<A> &fst, StateId s)
|
H A D | compact-fst.h | 75 // Element Compact(StateId s, const Arc &arc); 78 // Arc Expand(StateId s, const Element &e); 212 typedef typename A::StateId StateId; typedef 216 StateId nfinals = 0; 221 StateId s = siter.Value(); 244 for (StateId s = 0; s < nstates_; ++s) { 460 typedef typename A::StateId StateId; typedef in class:fst::CompactFstImpl 540 StateId Star 802 typedef typename A::StateId StateId; typedef in class:fst::CompactFst 1034 typedef typename A::StateId StateId; typedef in class:fst::StateIterator 1059 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator 1222 typedef typename A::StateId StateId; typedef in class:fst::StringCompactor 1261 typedef typename A::StateId StateId; typedef in class:fst::WeightedStringCompactor 1304 typedef typename A::StateId StateId; typedef in class:fst::UnweightedAcceptorCompactor 1346 typedef typename A::StateId StateId; typedef in class:fst::AcceptorCompactor 1388 typedef typename A::StateId StateId; typedef in class:fst::UnweightedCompactor [all...] |
H A D | lookahead-matcher.h | 45 // typedef typename Arc::StateId StateId; 72 // bool LookAheadFst(const Fst<Arc>& fst, StateId s); 136 typedef typename A::StateId StateId; typedef in class:fst::LookAheadMatcherBase 148 bool LookAheadFst(const Fst<Arc> &fst, StateId s) { 175 StateId s) = 0; // This must set l.a. weight and 189 typedef typename Arc::StateId StateId; typedef in class:fst::TrivialLookAheadMatcher 206 void SetState(StateId 255 typedef typename Arc::StateId StateId; typedef in class:fst::ArcLookAheadMatcher 428 typedef typename Arc::StateId StateId; typedef in class:fst::LabelLookAheadMatcher 712 typedef typename Arc::StateId StateId; typedef in class:fst::LookAheadMatcher [all...] |
H A D | arc-map.h | 113 typedef typename A::StateId StateId; typedef 128 StateId superfinal = kNoStateId; 134 for (StateId s = 0; s < fst->NumStates(); ++s) { 201 typedef typename A::StateId StateId; typedef 233 StateId superfinal = kNoStateId; 239 StateId s = siter.Value(); 330 typedef typename B::StateId StateId; typedef in class:fst::ArcMapFstImpl 558 typedef typename B::StateId StateId; typedef in class:fst::ArcMapFst 601 typedef typename B::StateId StateId; typedef in class:fst::StateIterator 663 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator 866 typedef typename A::StateId StateId; typedef in struct:fst::GallicToNewSymbolsMapper [all...] |
H A D | rational.h | 62 typedef typename A::StateId StateId; typedef in class:fst::RationalFstImpl 96 StateId Start() { return Replace()->Start(); } 98 Weight Final(StateId s) { return Replace()->Final(s); } 100 size_t NumArcs(StateId s) { return Replace()->NumArcs(s); } 102 size_t NumInputEpsilons(StateId s) { 106 size_t NumOutputEpsilons(StateId s) { 277 typedef typename A::StateId StateId; typedef in class:fst::RationalFst 284 virtual void InitArcIterator(StateId 322 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator [all...] |
H A D | matcher.h | 44 // typedef typename Arc::StateId StateId; 67 // void SetState(StateId s); 107 typedef typename A::StateId StateId; typedef in class:fst::MatcherBase 115 void SetState(StateId s) { SetState_(s); } 124 virtual void SetState_(StateId s) = 0; 142 typedef typename Arc::StateId StateId; typedef in class:fst::SortedMatcher 212 void SetState(StateId 399 typedef typename Arc::StateId StateId; typedef in class:fst::RhoMatcher 573 typedef typename Arc::StateId StateId; typedef in class:fst::SigmaMatcher 762 typedef typename Arc::StateId StateId; typedef in class:fst::PhiMatcher 994 typedef typename Arc::StateId StateId; typedef in class:fst::MultiEpsMatcher 1162 typedef typename Arc::StateId StateId; typedef in class:fst::Matcher [all...] |
H A D | accumulator.h | 45 typedef typename A::StateId StateId; typedef in class:fst::DefaultAccumulator 54 void SetState(StateId) {} 84 typedef typename A::StateId StateId; typedef in class:fst::LogAccumulator 93 void SetState(StateId) {} 165 typedef typename A::StateId StateId; typedef in class:fst::FastLogAccumulator 187 void SetState(StateId s) { 259 StateId 346 typedef typename A::StateId StateId; typedef in class:fst::CacheLogAccumulatorData 433 typedef typename A::StateId StateId; typedef in class:fst::CacheLogAccumulator 600 typedef typename Arc::StateId StateId; typedef in class:fst::ReplaceAccumulatorData 659 typedef typename Arc::StateId StateId; typedef in class:fst::ReplaceAccumulator [all...] |
H A D | label-reachable.h | 147 typedef typename A::StateId StateId; typedef in class:fst::LabelReachable 161 StateId ins = fst_->NumStates(); 214 StateId s = siter.Value(); 262 void SetState(StateId s, StateId aiter_s = kNoStateId) { 410 StateId ins = fst_->NumStates(); 411 StateId ons = ins; 416 for (StateId s = 0; s < ins; ++s) { 452 StateId [all...] |
H A D | reweight.h | 70 typename Arc::StateId state = sit.Value(); 101 typename Arc::StateId state = sit.Value(); 110 typename Arc::StateId state = fst->Start(); 130 typename Arc::StateId state = fst->AddState();
|
H A D | matcher-fst.h | 90 typedef typename Arc::StateId StateId; typedef in class:fst::MatcherFst 137 virtual void InitArcIterator(StateId s, ArcIteratorData<Arc> *data) const { 198 ArcIterator(const MatcherFst<F, M, N, I> &fst, typename F::Arc::StateId s) 209 typedef typename Arc::StateId StateId; typedef in class:fst::Matcher 227 void SetState(StateId s) { matcher_->SetState(s); } 248 typedef typename Arc::StateId StateId; typedef in class:fst::LookAheadMatcher 268 void SetState(StateId [all...] |
/external/openfst/src/include/fst/script/ |
H A D | shortest-path.h | 61 typedef typename Arc::StateId StateId; typedef 71 typedef AutoQueue<StateId> Queue; 83 typedef FifoQueue<StateId> Queue; 95 typedef LifoQueue<StateId> Queue; 107 typedef NaturalShortestFirstQueue<StateId, Weight> Queue; 119 typedef StateOrderQueue<StateId> Queue; 131 typedef TopOrderQueue<StateId> Queue;
|
H A D | prune.h | 57 typedef typename A::StateId StateId; typedef 60 StateId state_threshold = opts.state_threshold; 83 typedef typename Arc::StateId StateId; typedef
|
/external/openfst/src/test/ |
H A D | fst_test.cc | 35 typedef int64 StateId; typedef in struct:fst::CustomArc 37 CustomArc(Label i, Label o, Weight w, StateId s) : 49 StateId nextstate; // Transition destination state 59 typedef typename A::StateId StateId; typedef in class:fst::CustomCompactor 63 Element Compact(StateId s, const A &arc) const { 67 Arc Expand(StateId s, const Element &p, uint32 f = kArcValueFlags) const {
|