Home
last modified time | relevance | path

Searched refs:ifst (Results 101 – 125 of 582) sorted by relevance

12345678910>>...24

/dports/math/openfst/openfst-1.8.1/src/script/
H A Ddeterminize.cc25 void Determinize(const FstClass &ifst, MutableFstClass *ofst, in Determinize() argument
27 if (!internal::ArcTypesMatch(ifst, *ofst, "Determinize") || in Determinize()
32 DeterminizeArgs args(ifst, ofst, opts); in Determinize()
33 Apply<Operation<DeterminizeArgs>>("Determinize", ifst.ArcType(), &args); in Determinize()
H A Ddisambiguate.cc25 void Disambiguate(const FstClass &ifst, MutableFstClass *ofst, in Disambiguate() argument
27 if (!internal::ArcTypesMatch(ifst, *ofst, "Disambiguate") || in Disambiguate()
32 DisambiguateArgs args(ifst, ofst, opts); in Disambiguate()
33 Apply<Operation<DisambiguateArgs>>("Disambiguate", ifst.ArcType(), &args); in Disambiguate()
H A Drandgen.cc25 void RandGen(const FstClass &ifst, MutableFstClass *ofst, in RandGen() argument
27 if (!internal::ArcTypesMatch(ifst, *ofst, "RandGen")) { in RandGen()
31 RandGenArgs args(ifst, ofst, opts, seed); in RandGen()
32 Apply<Operation<RandGenArgs>>("RandGen", ifst.ArcType(), &args); in RandGen()
H A Dmap.cc25 std::unique_ptr<FstClass> Map(const FstClass &ifst, MapType map_type, in Map() argument
28 if (!ifst.WeightTypesMatch(weight, "Map")) return nullptr; in Map()
29 MapInnerArgs iargs(ifst, map_type, delta, power, weight); in Map()
31 Apply<Operation<MapArgs>>("Map", ifst.ArcType(), &args); in Map()
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/script/
H A Ddisambiguate.cc24 void Disambiguate(const FstClass &ifst, in Disambiguate() argument
27 if (!ArcTypesMatch(ifst, *ofst, "Disambiguate")) return; in Disambiguate()
29 DisambiguateArgs args(ifst, ofst, opts); in Disambiguate()
30 Apply<Operation<DisambiguateArgs> >("Disambiguate", ifst.ArcType(), &args); in Disambiguate()
H A Ddeterminize.cc24 void Determinize(const FstClass &ifst, in Determinize() argument
27 if (!ArcTypesMatch(ifst, *ofst, "Determinize")) return; in Determinize()
29 DeterminizeArgs args(ifst, ofst, opts); in Determinize()
30 Apply<Operation<DeterminizeArgs> >("Determinize", ifst.ArcType(), &args); in Determinize()
H A Depsnormalize.cc24 void EpsNormalize(const FstClass &ifst, MutableFstClass *ofst, in EpsNormalize() argument
26 if (!ArcTypesMatch(ifst, *ofst, "EpsNormalize")) return; in EpsNormalize()
28 EpsNormalizeArgs args(ifst, ofst, norm_type); in EpsNormalize()
29 Apply<Operation<EpsNormalizeArgs> >("EpsNormalize", ifst.ArcType(), &args); in EpsNormalize()
H A Drandgen.cc24 void RandGen(const FstClass &ifst, MutableFstClass *ofst, int32 seed, in RandGen() argument
26 if (!ArcTypesMatch(ifst, *ofst, "RandGen")) return; in RandGen()
28 RandGenArgs args(ifst, ofst, seed, opts); in RandGen()
29 Apply<Operation<RandGenArgs> >("RandGen", ifst.ArcType(), &args); in RandGen()
H A Dfst-class.cc98 FstClass *ifst = FstClass::Read(fname); in Read() local
99 if (!ifst) return 0; in Read()
100 if (ifst->Properties(fst::kMutable, false)) { in Read()
101 return static_cast<MutableFstClass *>(ifst); in Read()
103 MutableFstClass *ofst = new VectorFstClass(*ifst); in Read()
104 delete ifst; in Read()
H A Dprune.cc33 void Prune(const FstClass &ifst, MutableFstClass *fst, in Prune() argument
35 PruneArgs2 args(ifst, fst, opts); in Prune()
41 void Prune(const FstClass &ifst, in Prune() argument
45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta); in Prune()
47 Apply<Operation<PruneArgs3> >("Prune", ifst.ArcType(), &args); in Prune()
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/script/
H A Ddisambiguate.cc24 void Disambiguate(const FstClass &ifst, in Disambiguate() argument
27 if (!ArcTypesMatch(ifst, *ofst, "Disambiguate")) return; in Disambiguate()
29 DisambiguateArgs args(ifst, ofst, opts); in Disambiguate()
30 Apply<Operation<DisambiguateArgs> >("Disambiguate", ifst.ArcType(), &args); in Disambiguate()
H A Ddeterminize.cc24 void Determinize(const FstClass &ifst, in Determinize() argument
27 if (!ArcTypesMatch(ifst, *ofst, "Determinize")) return; in Determinize()
29 DeterminizeArgs args(ifst, ofst, opts); in Determinize()
30 Apply<Operation<DeterminizeArgs> >("Determinize", ifst.ArcType(), &args); in Determinize()
H A Depsnormalize.cc24 void EpsNormalize(const FstClass &ifst, MutableFstClass *ofst, in EpsNormalize() argument
26 if (!ArcTypesMatch(ifst, *ofst, "EpsNormalize")) return; in EpsNormalize()
28 EpsNormalizeArgs args(ifst, ofst, norm_type); in EpsNormalize()
29 Apply<Operation<EpsNormalizeArgs> >("EpsNormalize", ifst.ArcType(), &args); in EpsNormalize()
H A Drandgen.cc24 void RandGen(const FstClass &ifst, MutableFstClass *ofst, int32 seed, in RandGen() argument
26 if (!ArcTypesMatch(ifst, *ofst, "RandGen")) return; in RandGen()
28 RandGenArgs args(ifst, ofst, seed, opts); in RandGen()
29 Apply<Operation<RandGenArgs> >("RandGen", ifst.ArcType(), &args); in RandGen()
H A Dfst-class.cc98 FstClass *ifst = FstClass::Read(fname); in Read() local
99 if (!ifst) return 0; in Read()
100 if (ifst->Properties(fst::kMutable, false)) { in Read()
101 return static_cast<MutableFstClass *>(ifst); in Read()
103 MutableFstClass *ofst = new VectorFstClass(*ifst); in Read()
104 delete ifst; in Read()
H A Dprune.cc33 void Prune(const FstClass &ifst, MutableFstClass *fst, in Prune() argument
35 PruneArgs2 args(ifst, fst, opts); in Prune()
41 void Prune(const FstClass &ifst, in Prune() argument
45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta); in Prune()
47 Apply<Operation<PruneArgs3> >("Prune", ifst.ArcType(), &args); in Prune()
/dports/textproc/regex2dfa/regex2dfa-0.1.6/third_party/openfst/src/script/
H A Drandgen.cc24 void RandGen(const FstClass &ifst, MutableFstClass *ofst, int32 seed, in RandGen() argument
26 if (!ArcTypesMatch(ifst, *ofst, "RandGen")) return; in RandGen()
28 RandGenArgs args(ifst, ofst, seed, opts); in RandGen()
29 Apply<Operation<RandGenArgs> >("RandGen", ifst.ArcType(), &args); in RandGen()
H A Dfst-class.cc98 FstClass *ifst = FstClass::Read(fname); in Read() local
99 if (!ifst) return 0; in Read()
100 if (ifst->Properties(fst::kMutable, false)) { in Read()
101 return static_cast<MutableFstClass *>(ifst); in Read()
103 MutableFstClass *ofst = new VectorFstClass(*ifst); in Read()
104 delete ifst; in Read()
H A Dprune.cc33 void Prune(const FstClass &ifst, MutableFstClass *fst, in Prune() argument
35 PruneArgs2 args(ifst, fst, opts); in Prune()
41 void Prune(const FstClass &ifst, in Prune() argument
45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta); in Prune()
47 Apply<Operation<PruneArgs3> >("Prune", ifst.ArcType(), &args); in Prune()
/dports/textproc/regex2dfa/regex2dfa-0.1.6/third_party/openfst/src/bin/
H A Dfstrmepsilon.cc54 FstClass *ifst = FstClass::Read(in_fname); in main() local
55 if (!ifst) return 1; in main()
59 WeightClass(ifst->WeightType(), FLAGS_weight); in main()
83 MutableFstClass *ofst = new VectorFstClass(ifst->ArcType()); in main()
84 s::RmEpsilon(*ifst, ofst, FLAGS_reverse, opts); in main()
H A Dfstshortestpath.cc54 FstClass *ifst = FstClass::Read(in_fname); in main() local
55 if (!ifst) return 1; in main()
59 WeightClass(ifst->WeightType(), FLAGS_weight); in main()
61 VectorFstClass ofst(ifst->ArcType()); in main()
87 s::ShortestPath(*ifst, &ofst, &distance, opts); in main()
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/bin/
H A Dfstrmepsilon.cc54 FstClass *ifst = FstClass::Read(in_fname); in main() local
55 if (!ifst) return 1; in main()
59 WeightClass(ifst->WeightType(), FLAGS_weight); in main()
83 MutableFstClass *ofst = new VectorFstClass(ifst->ArcType()); in main()
84 s::RmEpsilon(*ifst, ofst, FLAGS_reverse, opts); in main()
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/bin/
H A Dfstrmepsilon.cc54 FstClass *ifst = FstClass::Read(in_fname); in main() local
55 if (!ifst) return 1; in main()
59 WeightClass(ifst->WeightType(), FLAGS_weight); in main()
83 MutableFstClass *ofst = new VectorFstClass(ifst->ArcType()); in main()
84 s::RmEpsilon(*ifst, ofst, FLAGS_reverse, opts); in main()
/dports/textproc/regex2dfa/regex2dfa-0.1.6/third_party/openfst/src/include/fst/script/
H A Drandgen.h38 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>()); in RandGen() local
48 RandGen(ifst, ofst, ropts); in RandGen()
54 RandGen(ifst, ofst, ropts); in RandGen()
60 RandGen(ifst, ofst, ropts); in RandGen()
66 void RandGen(const FstClass &ifst, MutableFstClass *ofst, int32 seed = time(0),
/dports/math/openfst/openfst-1.8.1/src/include/fst/script/
H A Drandgen.h38 const Fst<Arc> &ifst = *std::get<0>(*args).GetFst<Arc>(); in RandGen() local
48 RandGen(ifst, ofst, ropts); in RandGen()
56 RandGen(ifst, ofst, ropts); in RandGen()
64 RandGen(ifst, ofst, ropts); in RandGen()
70 void RandGen(const FstClass &ifst, MutableFstClass *ofst,

12345678910>>...24