Searched defs:ifst1 (Results 1 - 21 of 21) sorted by relevance

/external/openfst/src/bin/
H A Dfstequal.cc50 FstClass *ifst1 = FstClass::Read(in1_name); local
51 if (!ifst1) return 1;
56 bool result = s::Equal(*ifst1, *ifst2, FLAGS_delta);
H A Dfstcompose.cc59 FstClass *ifst1 = FstClass::Read(in1_name); local
60 if (!ifst1) return 1;
65 if (ifst1->ArcType() != ifst2->ArcType()) {
70 VectorFstClass ofst(ifst1->ArcType());
90 s::Compose(*ifst1, *ifst2, &ofst, opts);
H A Dfstdifference.cc57 FstClass *ifst1 = FstClass::Read(in1_name); local
58 if (!ifst1) return 1;
62 VectorFstClass ofst(ifst1->ArcType());
82 s::Difference(*ifst1, *ifst2, &ofst, opts);
H A Dfstequivalent.cc60 FstClass *ifst1 = FstClass::Read(in1_name); local
61 if (!ifst1) return 1;
67 return s::Equivalent(*ifst1, *ifst2, FLAGS_delta) ? 0 : 2;
84 *ifst1, *ifst2,
H A Dfstintersect.cc58 FstClass *ifst1 = FstClass::Read(in1_name); local
59 if (!ifst1) return 1;
63 VectorFstClass ofst(ifst1->ArcType());
83 s::Intersect(*ifst1, *ifst2, &ofst, opts);
/external/openfst/src/extensions/pdt/
H A Dpdtcompose.cc59 s::FstClass *ifst1 = s::FstClass::Read(in1_name); local
60 if (!ifst1) return 1;
72 s::VectorFstClass ofst(ifst1->ArcType());
75 s::PdtCompose(*ifst1, *ifst2, parens, &ofst, copts, FLAGS_left_pdt);
H A Dpdtscript.cc40 void PdtCompose(const FstClass &ifst1, argument
46 if (!ArcTypesMatch(ifst1, ifst2, "PdtCompose") ||
47 !ArcTypesMatch(ifst1, *ofst, "PdtCompose")) return;
49 PdtComposeArgs args(ifst1, ifst2, parens, ofst, copts, left_pdt);
51 Apply<Operation<PdtComposeArgs> >("PdtCompose", ifst1.ArcType(), &args);
/external/openfst/src/include/fst/script/
H A Ddifference.h33 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); local
37 Difference(ifst1, ifst2, ofst, args->arg4);
45 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); local
49 Difference(ifst1, ifst2, ofst, args->arg4);
53 void Difference(const FstClass &ifst1, const FstClass &ifst2,
57 void Difference(const FstClass &ifst1, const FstClass &ifst2,
H A Dintersect.h33 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); local
37 Intersect(ifst1, ifst2, ofst, args->arg4);
45 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); local
49 Intersect(ifst1, ifst2, ofst, args->arg4);
52 void Intersect(const FstClass &ifst1, const FstClass &ifst2,
H A Dcompose.h32 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); local
36 Compose(ifst1, ifst2, ofst, args->arg4);
46 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); local
50 Compose(ifst1, ifst2, ofst, args->arg4);
53 void Compose(const FstClass &ifst1, const FstClass &ifst2,
57 void Compose(const FstClass &ifst1, const FstClass &ifst2,
/external/openfst/src/script/
H A Dcompose.cc25 void Compose(const FstClass &ifst1, const FstClass &ifst2, argument
27 if (!ArcTypesMatch(ifst1, ifst2, "Compose") ||
28 !ArcTypesMatch(*ofst, ifst1, "Compose")) return;
30 ComposeArgs1 args(ifst1, ifst2, ofst, compose_filter);
31 Apply<Operation<ComposeArgs1> >("Compose", ifst1.ArcType(), &args);
34 void Compose(const FstClass &ifst1, const FstClass &ifst2, argument
36 if (!ArcTypesMatch(ifst1, ifst2, "Compose") ||
37 !ArcTypesMatch(*ofst, ifst1, "Compose")) return;
39 ComposeArgs2 args(ifst1, ifst2, ofst, copts);
40 Apply<Operation<ComposeArgs2> >("Compose", ifst1
[all...]
H A Ddifference.cc24 void Difference(const FstClass &ifst1, const FstClass &ifst2, argument
26 if (!ArcTypesMatch(ifst1, ifst2, "Difference") ||
27 !ArcTypesMatch(*ofst, ifst1, "Difference")) return;
29 DifferenceArgs1 args(ifst1, ifst2, ofst, compose_filter);
30 Apply<Operation<DifferenceArgs1> >("Difference", ifst1.ArcType(), &args);
33 void Difference(const FstClass &ifst1, const FstClass &ifst2, argument
35 if (!ArcTypesMatch(ifst1, ifst2, "Difference") ||
36 !ArcTypesMatch(*ofst, ifst1, "Difference")) return;
38 DifferenceArgs2 args(ifst1, ifst2, ofst, copts);
39 Apply<Operation<DifferenceArgs2> >("Difference", ifst1
[all...]
H A Dintersect.cc24 void Intersect(const FstClass &ifst1, const FstClass &ifst2, argument
26 if (!ArcTypesMatch(ifst1, ifst2, "Intersect") ||
27 !ArcTypesMatch(*ofst, ifst1, "Intersect")) return;
29 IntersectArgs1 args(ifst1, ifst2, ofst, compose_filter);
30 Apply<Operation<IntersectArgs1> >("Intersect", ifst1.ArcType(), &args);
33 void Intersect(const FstClass &ifst1, const FstClass &ifst2, argument
35 if (!ArcTypesMatch(ifst1, ifst2, "Intersect") ||
36 !ArcTypesMatch(*ofst, ifst1, "Intersect")) return;
38 IntersectArgs2 args(ifst1, ifst2, ofst, copts);
39 Apply<Operation<IntersectArgs2> >("Intersect", ifst1
[all...]
/external/openfst/src/include/fst/extensions/pdt/
H A Dcompose.h46 PdtComposeOptions(const Fst<Arc> &ifst1, argument
49 matcher1 = new PdtMatcher(ifst1, MATCH_OUTPUT, kMultiEpsList);
60 filter = new PdtFilter(ifst1, ifst2, matcher1, matcher2, true);
82 PdtComposeOptions(const Fst<Arc> &ifst1, argument
85 matcher1 = new PdtMatcher(ifst1, MATCH_OUTPUT, kMultiEpsLoop);
96 filter = new PdtFilter(ifst1, ifst2, matcher1, matcher2, true);
108 void Compose(const Fst<Arc> &ifst1, argument
115 PdtComposeOptions<Arc, true> copts(ifst1, parens, ifst2);
117 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
130 void Compose(const Fst<Arc> &ifst1, argument
[all...]
H A Dpdtscript.h56 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); local
69 Compose(ifst1, parens, ifst2, ofst, args->arg5);
71 Compose(ifst1, ifst2, parens, ofst, args->arg5);
75 void PdtCompose(const FstClass & ifst1,
/external/openfst/src/include/fst/
H A Ddifference.h160 void Difference(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, argument
168 *ofst = DifferenceFst<Arc>(ifst1, ifst2, nopts);
172 *ofst = DifferenceFst<Arc>(ifst1, ifst2, dopts);
176 *ofst = DifferenceFst<Arc>(ifst1, ifst2, dopts);
180 *ofst = DifferenceFst<Arc>(ifst1, ifst2, dopts);
H A Dintersect.h143 void Intersect(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, argument
151 *ofst = IntersectFst<Arc>(ifst1, ifst2, nopts);
155 *ofst = IntersectFst<Arc>(ifst1, ifst2, iopts);
159 *ofst = IntersectFst<Arc>(ifst1, ifst2, iopts);
163 *ofst = IntersectFst<Arc>(ifst1, ifst2, iopts);
H A Dcompose.h644 void Compose(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, argument
652 *ofst = ComposeFst<Arc>(ifst1, ifst2, nopts);
656 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
660 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
664 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Ddifference.h128 void Difference(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, argument
133 *ofst = DifferenceFst<Arc>(ifst1, ifst2, nopts);
H A Dintersect.h118 void Intersect(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, argument
123 *ofst = IntersectFst<Arc>(ifst1, ifst2, nopts);
H A Dcompose.h898 void Compose(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, argument
903 *ofst = ComposeFst<Arc>(ifst1, ifst2, nopts);

Completed in 172 milliseconds