Searched refs:ofst (Results 1 - 25 of 120) sorted by relevance

12345

/external/openfst/src/script/
H A Dconcat.cc24 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 Ddecode.cc25 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 Ddeterminize.cc25 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 Dencode.cc25 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 Depsnormalize.cc24 void EpsNormalize(const FstClass &ifst, MutableFstClass *ofst, argument
26 if (!ArcTypesMatch(ifst, *ofst, "EpsNormalize")) return;
28 EpsNormalizeArgs args(ifst, ofst, norm_type);
H A Dproject.cc24 void Project(MutableFstClass *ofst, ProjectType project_type) { argument
25 ProjectArgs args(ofst, project_type);
27 Apply<Operation<ProjectArgs> >("Project", ofst->ArcType(), &args);
H A Drandgen.cc24 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 Dsynchronize.cc24 void Synchronize(const FstClass &ifst, MutableFstClass *ofst) { argument
25 if (!ArcTypesMatch(ifst, *ofst, "Synchronize")) return;
27 SynchronizeArgs args(ifst, ofst);
H A Dreplace.cc25 MutableFstClass *ofst, const int64 &root,
33 if (!ArcTypesMatch(*tuples[0].second, *ofst, "Replace")) return;
35 ReplaceArgs args(tuples, ofst, root, epsilon_on_replace);
37 Apply<Operation<ReplaceArgs> >("Replace", ofst->ArcType(), &args);
24 Replace(const vector<pair<int64, const FstClass *> > &tuples, MutableFstClass *ofst, const int64 &root, bool epsilon_on_replace) argument
H A Dcompose.cc26 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 Ddifference.cc25 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 Dintersect.cc25 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 Dpush.cc25 void Push(MutableFstClass *ofst, ReweightType dir, float delta, argument
27 PushArgs1 args(ofst, dir, delta, remove_total_weight);
28 Apply<Operation<PushArgs1> >("Push", ofst->ArcType(), &args);
32 void Push(const FstClass &ifst, MutableFstClass *ofst, uint32 flags, argument
34 if (!ArcTypesMatch(ifst, *ofst, "Push")) return;
36 PushArgs2 args(ifst, ofst, flags, dir, delta);
H A Drelabel.cc25 void Relabel(MutableFstClass *ofst, argument
30 RelabelArgs1 args(ofst, old_isyms, relabel_isyms, attach_new_isyms,
32 Apply<Operation<RelabelArgs1> >("Relabel", ofst->ArcType(), &args);
36 void Relabel(MutableFstClass *ofst, argument
39 RelabelArgs2 args(ofst, ipairs, opairs);
41 Apply<Operation<RelabelArgs2> >("Relabel", ofst->ArcType(), &args);
H A Dshortest-path.cc24 void ShortestPath(const FstClass &ifst, MutableFstClass *ofst, argument
27 if (!ArcTypesMatch(ifst, *ofst, "ShortestPath")) return;
29 ShortestPathArgs1 args(ifst, ofst, distance, opts);
33 void ShortestPath(const FstClass &ifst, MutableFstClass *ofst, argument
36 if (!ArcTypesMatch(ifst, *ofst, "ShortestPath")) return;
38 ShortestPathArgs2 args(ifst, ofst, n, unique, first_path, weight_threshold,
/external/openfst/src/include/fst/
H A Dreverse.h43 void Reverse(const Fst<Arc> &ifst, MutableFst<RevArc> *ofst) { argument
48 ofst->DeleteStates();
49 ofst->SetInputSymbols(ifst.InputSymbols());
50 ofst->SetOutputSymbols(ifst.OutputSymbols());
52 ofst->ReserveStates(CountStates(ifst) + 1);
54 StateId ostart = ofst->AddState();
55 ofst->SetStart(ostart);
62 while (ofst->NumStates() <= os)
63 ofst->AddState();
65 ofst
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dreverse.h36 void Reverse(const Fst<Arc> &ifst, MutableFst<RevArc> *ofst) { argument
41 ofst->DeleteStates();
42 ofst->SetInputSymbols(ifst.InputSymbols());
43 ofst->SetOutputSymbols(ifst.OutputSymbols());
45 StateId ostart = ofst->AddState();
46 ofst->SetStart(ostart);
53 while (ofst->NumStates() <= os)
54 ofst->AddState();
56 ofst->SetFinal(os, RevWeight::One());
61 ofst
[all...]
/external/openfst/src/include/fst/script/
H A Dpush.h32 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 Dproject.h31 MutableFst<Arc> *ofst = args->arg1->GetMutableFst<Arc>(); local
33 Project(ofst, args->arg2);
36 void Project(MutableFstClass *ofst, ProjectType project_type);
H A Dsynchronize.h32 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); local
34 Synchronize(ifst, ofst);
37 void Synchronize(const FstClass &ifst, MutableFstClass *ofst);
H A Dcompose.h34 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); local
36 Compose(ifst1, ifst2, ofst, args->arg4);
48 MutableFst<Arc> *ofst = args->arg3->GetMutableFst<Arc>(); local
50 Compose(ifst1, ifst2, ofst, args->arg4);
54 MutableFstClass *ofst,
58 MutableFstClass *ofst, ComposeFilter compose_filter);
H A Dconcat.h32 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 Ddifference.h35 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 Dintersect.h35 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,
/external/openfst/src/bin/
H A Dfstconvert.cc48 FstClass *ofst = ifst;
49 if (!ofst) return 1;
51 if (ofst->FstType() != FLAGS_fst_type) {
52 ofst = s::Convert(*ifst, FLAGS_fst_type);
55 ofst->Write(out_name);

Completed in 240 milliseconds

12345