/external/openfst/src/script/ |
H A D | concat.cc | 24 void Concat(MutableFstClass *ofst, const FstClass &ifst) { argument 25 if (!ArcTypesMatch(*ofst, ifst, "Concat")) return; 27 ConcatArgs1 args(ofst, ifst); 29 Apply<Operation<ConcatArgs1> >("Concat", ofst->ArcType(), &args); 32 void Concat(const FstClass &ifst, MutableFstClass *ofst) { argument 33 if (!ArcTypesMatch(ifst, *ofst, "Concat")) return; 35 ConcatArgs2 args(ifst, ofst); 37 Apply<Operation<ConcatArgs2> >("Concat", ofst->ArcType(), &args);
|
H A D | decode.cc | 25 void Decode(MutableFstClass *ofst, const string &coder_fname) { argument 26 DecodeArgs args(ofst, coder_fname); 28 Apply<Operation<DecodeArgs> >("Decode", ofst->ArcType(), &args);
|
H A D | project.cc | 24 void Project(MutableFstClass *ofst, ProjectType project_type) { argument 25 ProjectArgs args(ofst, project_type); 27 Apply<Operation<ProjectArgs> >("Project", ofst->ArcType(), &args);
|
H A D | synchronize.cc | 24 void Synchronize(const FstClass &ifst, MutableFstClass *ofst) { argument 25 if (!ArcTypesMatch(ifst, *ofst, "Synchronize")) return; 27 SynchronizeArgs args(ifst, ofst);
|
H A D | determinize.cc | 25 MutableFstClass *ofst, 27 if (!ArcTypesMatch(ifst, *ofst, "Determinize")) return; 29 DeterminizeArgs args(ifst, ofst, opts); 24 Determinize(const FstClass &ifst, MutableFstClass *ofst, const DeterminizeOptions& opts) argument
|
H A D | encode.cc | 25 void Encode(MutableFstClass *ofst, uint32 flags, bool reuse_encoder, argument 27 EncodeArgs args(ofst, flags, reuse_encoder, coder_fname); 29 Apply<Operation<EncodeArgs> >("Encode", ofst->ArcType(), &args);
|
H A D | epsnormalize.cc | 24 void EpsNormalize(const FstClass &ifst, MutableFstClass *ofst, argument 26 if (!ArcTypesMatch(ifst, *ofst, "EpsNormalize")) return; 28 EpsNormalizeArgs args(ifst, ofst, norm_type);
|
H A D | randgen.cc | 24 void RandGen(const FstClass &ifst, MutableFstClass *ofst, int32 seed, argument 26 if (!ArcTypesMatch(ifst, *ofst, "RandGen")) return; 28 RandGenArgs args(ifst, ofst, seed, opts);
|
H A D | compose.cc | 26 MutableFstClass *ofst, ComposeFilter compose_filter) { 28 !ArcTypesMatch(*ofst, ifst1, "Compose")) return; 30 ComposeArgs1 args(ifst1, ifst2, ofst, compose_filter); 35 MutableFstClass *ofst, const ComposeOptions &copts) { 37 !ArcTypesMatch(*ofst, ifst1, "Compose")) return; 39 ComposeArgs2 args(ifst1, ifst2, ofst, copts); 25 Compose(const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, ComposeFilter compose_filter) argument 34 Compose(const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, const ComposeOptions &copts) argument
|
H A D | difference.cc | 25 MutableFstClass *ofst, ComposeFilter compose_filter) { 27 !ArcTypesMatch(*ofst, ifst1, "Difference")) return; 29 DifferenceArgs1 args(ifst1, ifst2, ofst, compose_filter); 34 MutableFstClass *ofst, const ComposeOptions &copts) { 36 !ArcTypesMatch(*ofst, ifst1, "Difference")) return; 38 DifferenceArgs2 args(ifst1, ifst2, ofst, copts); 24 Difference(const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, ComposeFilter compose_filter) argument 33 Difference(const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, const ComposeOptions &copts) argument
|
H A D | intersect.cc | 25 MutableFstClass *ofst, ComposeFilter compose_filter) { 27 !ArcTypesMatch(*ofst, ifst1, "Intersect")) return; 29 IntersectArgs1 args(ifst1, ifst2, ofst, compose_filter); 34 MutableFstClass *ofst, const ComposeOptions &copts) { 36 !ArcTypesMatch(*ofst, ifst1, "Intersect")) return; 38 IntersectArgs2 args(ifst1, ifst2, ofst, copts); 24 Intersect(const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, ComposeFilter compose_filter) argument 33 Intersect(const FstClass &ifst1, const FstClass &ifst2, MutableFstClass *ofst, const ComposeOptions &copts) argument
|
H A D | prune.cc | 42 MutableFstClass *ofst, 45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta); 41 Prune(const FstClass &ifst, MutableFstClass *ofst, const WeightClass& weight_threshold, int64 state_threshold, float delta) argument
|
/external/openfst/src/include/fst/script/ |
H A D | project.h | 31 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); local 33 Project(ofst, args->arg2); 36 void Project(MutableFstClass *ofst, ProjectType project_type);
|
H A D | concat.h | 32 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); local 35 Concat(ofst, ifst); 41 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); local 43 Concat(ifst, ofst); 46 void Concat(MutableFstClass *ofst, const FstClass &ifst); 47 void Concat(const FstClass &ifst, MutableFstClass *ofst);
|
H A D | decode.h | 33 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); local 36 Decode(ofst, *decoder);
|
H A D | difference.h | 35 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); local 37 Difference(ifst1, ifst2, ofst, args->arg4); 47 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); local 49 Difference(ifst1, ifst2, ofst, args->arg4); 54 MutableFstClass *ofst, 58 MutableFstClass *ofst,
|
H A D | epsnormalize.h | 33 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); local 35 EpsNormalize(ifst, ofst, args->arg3); 38 void EpsNormalize(const FstClass &ifst, MutableFstClass *ofst,
|
H A D | intersect.h | 35 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); local 37 Intersect(ifst1, ifst2, ofst, args->arg4); 47 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); local 49 Intersect(ifst1, ifst2, ofst, args->arg4); 53 MutableFstClass *ofst, 57 MutableFstClass *ofst,
|
H A D | push.h | 32 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); local 35 fst::Push(ofst, REWEIGHT_TO_FINAL, args->arg3, args->arg4); 37 fst::Push(ofst, REWEIGHT_TO_INITIAL, args->arg3, args->arg4); 48 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); local 51 fst::Push<Arc, REWEIGHT_TO_FINAL>(ifst, ofst, args->arg3, args->arg5); 53 fst::Push<Arc, REWEIGHT_TO_INITIAL>(ifst, ofst, args->arg3, args->arg5); 58 void Push(MutableFstClass *ofst, ReweightType type, float delta = kDelta, 62 void Push(const FstClass &ifst, MutableFstClass *ofst, uint32 flags,
|
H A D | replace.h | 50 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); local 52 Replace(fst_tuples, ofst, args->arg3, args->arg4); 56 MutableFstClass *ofst, const int64 &root,
|
H A D | synchronize.h | 32 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); local 34 Synchronize(ifst, ofst); 37 void Synchronize(const FstClass &ifst, MutableFstClass *ofst);
|
/external/openfst/src/bin/ |
H A D | fstmap.cc | 92 FstClass *ofst = s::Map(*ifst, mt, FLAGS_delta, w); local 94 ofst->Write(out_name);
|
H A D | fstrmepsilon.cc | 83 MutableFstClass *ofst = new VectorFstClass(ifst->ArcType()); local 84 s::RmEpsilon(*ifst, ofst, FLAGS_reverse, opts); 86 ofst->Write(out_fname);
|
/external/openfst/src/include/fst/ |
H A D | epsnormalize.h | 52 void EpsNormalize(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, argument 65 ArcMap(fwfst, ofst, FromGallicMapper<Arc, STRING_RIGHT_RESTRICT>()); 66 ofst->SetOutputSymbols(ifst.OutputSymbols()); 68 Invert(ofst);
|
/external/openfst/src/include/fst/extensions/pdt/ |
H A D | reverse.h | 41 MutableFst<RevArc> *ofst) { 45 Reverse(ifst, ofst); 53 Relabel(ofst, relabel_pairs, relabel_pairs); 38 Reverse(const Fst<Arc> &ifst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, MutableFst<RevArc> *ofst) argument
|