/external/openfst/src/script/ |
D | difference.cc | 24 void Difference(const FstClass &ifst1, const FstClass &ifst2, in Difference() argument 26 if (!ArcTypesMatch(ifst1, ifst2, "Difference") || in Difference() 27 !ArcTypesMatch(*ofst, ifst1, "Difference")) return; in Difference() 29 DifferenceArgs1 args(ifst1, ifst2, ofst, compose_filter); in Difference() 30 Apply<Operation<DifferenceArgs1> >("Difference", ifst1.ArcType(), &args); in Difference() 33 void Difference(const FstClass &ifst1, const FstClass &ifst2, in Difference() argument 35 if (!ArcTypesMatch(ifst1, ifst2, "Difference") || in Difference() 36 !ArcTypesMatch(*ofst, ifst1, "Difference")) return; in Difference() 38 DifferenceArgs2 args(ifst1, ifst2, ofst, copts); in Difference() 39 Apply<Operation<DifferenceArgs2> >("Difference", ifst1.ArcType(), &args); in Difference()
|
D | compose.cc | 25 void Compose(const FstClass &ifst1, const FstClass &ifst2, in Compose() argument 27 if (!ArcTypesMatch(ifst1, ifst2, "Compose") || in Compose() 28 !ArcTypesMatch(*ofst, ifst1, "Compose")) return; in Compose() 30 ComposeArgs1 args(ifst1, ifst2, ofst, compose_filter); in Compose() 31 Apply<Operation<ComposeArgs1> >("Compose", ifst1.ArcType(), &args); in Compose() 34 void Compose(const FstClass &ifst1, const FstClass &ifst2, in Compose() argument 36 if (!ArcTypesMatch(ifst1, ifst2, "Compose") || in Compose() 37 !ArcTypesMatch(*ofst, ifst1, "Compose")) return; in Compose() 39 ComposeArgs2 args(ifst1, ifst2, ofst, copts); in Compose() 40 Apply<Operation<ComposeArgs2> >("Compose", ifst1.ArcType(), &args); in Compose()
|
D | intersect.cc | 24 void Intersect(const FstClass &ifst1, const FstClass &ifst2, in Intersect() argument 26 if (!ArcTypesMatch(ifst1, ifst2, "Intersect") || in Intersect() 27 !ArcTypesMatch(*ofst, ifst1, "Intersect")) return; in Intersect() 29 IntersectArgs1 args(ifst1, ifst2, ofst, compose_filter); in Intersect() 30 Apply<Operation<IntersectArgs1> >("Intersect", ifst1.ArcType(), &args); in Intersect() 33 void Intersect(const FstClass &ifst1, const FstClass &ifst2, in Intersect() argument 35 if (!ArcTypesMatch(ifst1, ifst2, "Intersect") || in Intersect() 36 !ArcTypesMatch(*ofst, ifst1, "Intersect")) return; in Intersect() 38 IntersectArgs2 args(ifst1, ifst2, ofst, copts); in Intersect() 39 Apply<Operation<IntersectArgs2> >("Intersect", ifst1.ArcType(), &args); in Intersect()
|
/external/openfst/src/include/fst/script/ |
D | compose.h | 32 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); in Compose() local 36 Compose(ifst1, ifst2, ofst, args->arg4); in Compose() 46 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); in Compose() local 50 Compose(ifst1, ifst2, ofst, args->arg4); in Compose() 53 void Compose(const FstClass &ifst1, const FstClass &ifst2, 57 void Compose(const FstClass &ifst1, const FstClass &ifst2,
|
D | difference.h | 33 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); in Difference() local 37 Difference(ifst1, ifst2, ofst, args->arg4); in Difference() 45 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); in Difference() local 49 Difference(ifst1, ifst2, ofst, args->arg4); in Difference() 53 void Difference(const FstClass &ifst1, const FstClass &ifst2, 57 void Difference(const FstClass &ifst1, const FstClass &ifst2,
|
D | intersect.h | 33 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); in Intersect() local 37 Intersect(ifst1, ifst2, ofst, args->arg4); in Intersect() 45 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); in Intersect() local 49 Intersect(ifst1, ifst2, ofst, args->arg4); in Intersect() 52 void Intersect(const FstClass &ifst1, const FstClass &ifst2,
|
/external/openfst/src/bin/ |
D | fstcompose.cc | 59 FstClass *ifst1 = FstClass::Read(in1_name); in main() local 60 if (!ifst1) return 1; in main() 65 if (ifst1->ArcType() != ifst2->ArcType()) { in main() 70 VectorFstClass ofst(ifst1->ArcType()); in main() 90 s::Compose(*ifst1, *ifst2, &ofst, opts); in main()
|
D | fstdifference.cc | 57 FstClass *ifst1 = FstClass::Read(in1_name); in main() local 58 if (!ifst1) return 1; in main() 62 VectorFstClass ofst(ifst1->ArcType()); in main() 82 s::Difference(*ifst1, *ifst2, &ofst, opts); in main()
|
D | fstequivalent.cc | 60 FstClass *ifst1 = FstClass::Read(in1_name); in main() local 61 if (!ifst1) return 1; in main() 67 return s::Equivalent(*ifst1, *ifst2, FLAGS_delta) ? 0 : 2; in main() 84 *ifst1, *ifst2, in main()
|
D | fstintersect.cc | 58 FstClass *ifst1 = FstClass::Read(in1_name); in main() local 59 if (!ifst1) return 1; in main() 63 VectorFstClass ofst(ifst1->ArcType()); in main() 83 s::Intersect(*ifst1, *ifst2, &ofst, opts); in main()
|
D | fstequal.cc | 50 FstClass *ifst1 = FstClass::Read(in1_name); in main() local 51 if (!ifst1) return 1; in main() 56 bool result = s::Equal(*ifst1, *ifst2, FLAGS_delta); in main()
|
/external/openfst/src/extensions/pdt/ |
D | pdtscript.cc | 40 void PdtCompose(const FstClass &ifst1, in PdtCompose() argument 46 if (!ArcTypesMatch(ifst1, ifst2, "PdtCompose") || in PdtCompose() 47 !ArcTypesMatch(ifst1, *ofst, "PdtCompose")) return; in PdtCompose() 49 PdtComposeArgs args(ifst1, ifst2, parens, ofst, copts, left_pdt); in PdtCompose() 51 Apply<Operation<PdtComposeArgs> >("PdtCompose", ifst1.ArcType(), &args); in PdtCompose()
|
D | pdtcompose.cc | 62 s::FstClass *ifst1 = s::FstClass::Read(in1_name); in main() local 63 if (!ifst1) return 1; in main() 75 s::VectorFstClass ofst(ifst1->ArcType()); in main() 93 s::PdtCompose(*ifst1, *ifst2, parens, &ofst, copts, FLAGS_left_pdt); in main()
|
/external/openfst/src/include/fst/extensions/pdt/ |
D | compose.h | 432 PdtComposeFstOptions(const Fst<Arc> &ifst1, 436 matcher1 = new PdtMatcher(ifst1, MATCH_OUTPUT, kParenList); 439 filter = new PdtFilter(ifst1, ifst2, matcher1, matcher2, &parens, 461 PdtComposeFstOptions(const Fst<Arc> &ifst1, 465 matcher1 = new PdtMatcher(ifst1, MATCH_OUTPUT, kParenLoop); 468 filter = new PdtFilter(ifst1, ifst2, matcher1, matcher2, &parens, 495 void Compose(const Fst<Arc> &ifst1, 503 PdtComposeFstOptions<Arc, true> copts(ifst1, parens, ifst2, 506 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts); 518 void Compose(const Fst<Arc> &ifst1, [all …]
|
D | pdtscript.h | 56 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>()); in PdtCompose() local 69 Compose(ifst1, parens, ifst2, ofst, args->arg5); in PdtCompose() 71 Compose(ifst1, ifst2, parens, ofst, args->arg5); in PdtCompose() 75 void PdtCompose(const FstClass & ifst1,
|
/external/openfst/src/include/fst/ |
D | intersect.h | 143 void Intersect(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, 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);
|
D | difference.h | 160 void Difference(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, 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);
|
D | compose.h | 699 void Compose(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, 707 *ofst = ComposeFst<Arc>(ifst1, ifst2, nopts); 711 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts); 715 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts); 719 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
|