/external/openfst/src/script/ |
H A D | map.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/map.h> 21 namespace fst { namespace 39 } // namespace fst
|
H A D | minimize.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/minimize.h> 21 namespace fst { namespace 36 } // namespace fst
|
H A D | project.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/project.h> 21 namespace fst { namespace 35 } // namespace fst
|
H A D | randgen.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/randgen.h> 21 namespace fst { namespace 37 } // namespace fst
|
H A D | reverse.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/reverse.h> 21 namespace fst { namespace 37 } // namespace fst
|
H A D | synchronize.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/synchronize.h> 21 namespace fst { namespace 36 } // namespace fst
|
H A D | union.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/union.h> 21 namespace fst { namespace 37 } // namespace fst
|
H A D | rmepsilon.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/rmepsilon.h> 21 namespace fst { namespace 33 void RmEpsilon(MutableFstClass *fst, bool connect, argument 36 RmEpsilonArgs2 args(fst, connect, weight_threshold, state_threshold, delta); 38 Apply<Operation<RmEpsilonArgs2> >("RmEpsilon", fst->ArcType(), &args); 41 void RmEpsilon(MutableFstClass *fst, vector<WeightClass> *distance, argument 43 RmEpsilonArgs3 args(fst, distanc [all...] |
H A D | prune.cc | 17 #include <fst/script/fst-class.h> 18 #include <fst/script/script-impl.h> 19 #include <fst/script/prune.h> 21 namespace fst { namespace 26 void Prune(MutableFstClass *fst, const PruneOptions &opts) { argument 27 PruneArgs1 args(fst, opts); 29 Apply<Operation<PruneArgs1> >("Prune", fst->ArcType(), &args); 33 void Prune(const FstClass &ifst, MutableFstClass *fst, argument 35 PruneArgs2 args(ifst, fst, opt 51 Prune(MutableFstClass *fst, const WeightClass& weight_threshold, int64 state_threshold, float delta) argument [all...] |
/external/openfst/src/bin/ |
H A D | fstintersect.cc | 23 #include <fst/script/intersect.h> 24 #include <fst/script/connect.h> 32 namespace s = fst::script; 33 using fst::script::FstClass; 34 using fst::script::VectorFstClass; 39 usage += " in1.fst in2.fst [out.fst]\n"; 65 fst::ComposeFilter compose_filter; 68 compose_filter = fst [all...] |
H A D | fstpush.cc | 22 #include <fst/script/push.h> 24 DEFINE_double(delta, fst::kDelta, "Comparison/quantization delta"); 35 namespace s = fst::script; 36 using fst::script::FstClass; 37 using fst::script::VectorFstClass; 41 usage += " [in.fst [out.fst]]\n"; 58 flags |= fst::kPushWeights; 60 flags |= fst::kPushLabels; 62 flags |= fst [all...] |
H A D | fstepsnormalize.cc | 23 #include <fst/script/epsnormalize.h> 28 namespace s = fst::script; 29 using fst::script::FstClass; 30 using fst::script::VectorFstClass; 35 usage += " [in.fst [out.fst]]\n"; 50 fst::EpsNormalizeType eps_norm_type = FLAGS_eps_norm_output ? 51 fst::EPS_NORM_OUTPUT : fst::EPS_NORM_INPUT;
|
H A D | fstshortestdistance.cc | 26 #include <fst/script/shortest-distance.h> 27 #include <fst/script/text-io.h> 30 DEFINE_double(delta, fst::kDelta, "Comparison/quantization delta"); 31 DEFINE_int64(nstate, fst::kNoStateId, "State number threhold"); 36 namespace s = fst::script; 37 using fst::script::FstClass; 41 usage += " [in.fst [distance.txt]]\n"; 58 fst::QueueType qt; 61 qt = fst::AUTO_QUEUE; 63 qt = fst [all...] |
H A D | fstrelabel.cc | 29 #include <fst/script/relabel.h> 30 #include <fst/script/weight-class.h> 31 #include <fst/util.h> 44 namespace s = fst::script; 45 using fst::SymbolTable; 46 using fst::SymbolTableTextOptions; 47 using fst::script::FstClass; 48 using fst::script::MutableFstClass; 53 usage += " [in.fst [out.fst]]\ 71 MutableFstClass *fst = MutableFstClass::Read(in_name, true); local [all...] |
H A D | fstreverse.cc | 25 #include <fst/script/reverse.h> 26 #include <fst/script/fst-class.h> 32 using fst::script::FstClass; 33 using fst::script::VectorFstClass; 34 using fst::script::Reverse; 38 usage += " [in.fst [out.fst]]\n";
|
/external/openfst/src/include/fst/script/ |
H A D | determinize.h | 20 #include <fst/determinize.h> 21 #include <fst/script/arg-packs.h> 22 #include <fst/script/fst-class.h> 23 #include <fst/script/weight-class.h> 25 namespace fst { namespace 34 explicit DeterminizeOptions(float d = fst::kDelta, argument 36 fst::script::WeightClass::Zero(), 37 int64 n = fst::kNoStateId, int64 l = 0) 51 fst [all...] |
H A D | disambiguate.h | 20 #include <fst/disambiguate.h> 21 #include <fst/script/arg-packs.h> 22 #include <fst/script/fst-class.h> 23 #include <fst/script/weight-class.h> 25 namespace fst { namespace 34 explicit DisambiguateOptions(float d = fst::kDelta, argument 36 fst::script::WeightClass::Zero(), 37 int64 n = fst::kNoStateId, int64 l = 0) 51 fst [all...] |
H A D | fstscript.h | 23 #include <fst/script/fst-class.h> 24 #include <fst/script/weight-class.h> 25 #include <fst/script/text-io.h> 28 #include <fst/script/script-impl.h> 31 #include <fst/script/arcsort.h> 32 #include <fst/script/closure.h> 33 #include <fst/script/compile.h> 34 #include <fst/script/compose.h> 35 #include <fst/scrip 77 namespace fst { namespace [all...] |
H A D | convert.h | 22 #include <fst/script/arg-packs.h> 23 #include <fst/script/fst-class.h> 25 namespace fst { namespace 33 const Fst<Arc> &fst = *(args->args.arg1.GetFst<Arc>()); local 36 Fst<Arc> *result = Convert(fst, new_type); 47 } // namespace fst
|
H A D | decode.h | 22 #include <fst/script/arg-packs.h> 23 #include <fst/script/fst-class.h> 24 #include <fst/encode.h> 26 namespace fst { namespace 41 void Decode(MutableFstClass *fst, const string &coder_fname); 44 } // namespace fst
|
/external/openfst/src/include/fst/ |
H A D | statesort.h | 28 #include <fst/mutable-fst.h> 31 namespace fst { namespace 36 // (0, 1, 2, ..., fst->NumStates() - 1). 38 void StateSort(MutableFst<Arc> *fst, argument 43 if (order.size() != fst->NumStates()) { 45 fst->SetProperties(kError, kError); 49 if (fst->Start() == kNoStateId) 52 uint64 props = fst->Properties(kStateSortProperties, false); 58 fst [all...] |
H A D | rmfinalepsilon.h | 30 #include <fst/connect.h> 31 #include <fst/mutable-fst.h> 34 namespace fst { namespace 37 void RmFinalEpsilon(MutableFst<A>* fst) { argument 46 DfsVisit(*fst, &scc_visitor); 52 for (StateIterator<Fst<A> > siter(*fst); !siter.Done(); siter.Next()) { 54 if (fst->Final(s) != Weight::Zero()) { 56 for (ArcIterator<Fst<A> > aiter(*fst, s); !aiter.Done(); aiter.Next()) { 71 for (StateIterator<Fst<A> > siter(*fst); !site [all...] |
/external/openfst/src/test/ |
H A D | algo_test.cc | 39 using fst::StdArc; 40 using fst::TropicalWeightGenerator; 42 using fst::LogArc; 43 using fst::LogWeightGenerator; 45 using fst::MinMaxArc; 46 using fst::MinMaxWeightGenerator; 48 using fst::StringArc; 49 using fst::StringWeightGenerator; 50 using fst::STRING_LEFT; 51 using fst [all...] |
H A D | fst_test.h | 24 #include <fst/equal.h> 25 #include <fst/matcher.h> 26 #include <fst/vector-fst.h> 27 #include <fst/verify.h> 31 namespace fst { namespace 36 // functions that take a test fst as its argument so that different 63 void TestBase(const G &fst) const { 64 CHECK(Verify(fst)); 65 CHECK_EQ(fst 311 InitFst(MutableFst<Arc> *fst, size_t nstates) const argument [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | reweight.h | 23 #include "fst/lib/mutable-fst.h" 25 namespace fst { namespace 39 void Reweight(MutableFst<Arc> *fst, vector<typename Arc::Weight> potential, argument 43 if (!fst->NumStates()) 45 while ( (int64)potential.size() < (int64)fst->NumStates()) 58 for (StateIterator< MutableFst<Arc> > sit(*fst); 62 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); 81 fst->SetFinal(state, 82 Divide(fst [all...] |