Searched refs:fst (Results 76 - 100 of 404) sorted by relevance

1234567891011>>

/external/openfst/src/script/
H A Dmap.cc17 #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 Dminimize.cc17 #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 Dproject.cc17 #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 Drandgen.cc17 #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 Dreverse.cc17 #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 Dsynchronize.cc17 #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 Dunion.cc17 #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 Drmepsilon.cc17 #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 Dprune.cc17 #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 Dfstintersect.cc23 #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 Dfstpush.cc22 #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 Dfstepsnormalize.cc23 #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 Dfstshortestdistance.cc26 #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 Dfstrelabel.cc29 #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 Dfstreverse.cc25 #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 Ddeterminize.h20 #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 Ddisambiguate.h20 #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 Dfstscript.h23 #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 Dconvert.h22 #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 Ddecode.h22 #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 Dstatesort.h28 #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 Drmfinalepsilon.h30 #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 Dalgo_test.cc39 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 Dfst_test.h24 #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 Dreweight.h23 #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...]

Completed in 199 milliseconds

1234567891011>>