/external/openfst/src/bin/ |
fstconvert.cc | 45 FstClass *ifst = FstClass::Read(in_name); local 46 if (!ifst) return 1; 48 FstClass *ofst = ifst; 52 ofst = s::Convert(*ifst, FLAGS_fst_type);
|
fstdeterminize.cc | 53 FstClass *ifst = FstClass::Read(in_name); local 54 if (!ifst) return 1; 56 VectorFstClass ofst(ifst->ArcType()); 60 WeightClass::Zero() : WeightClass(ifst->WeightType(), FLAGS_weight), 63 s::Determinize(*ifst, &ofst, opts);
|
fstepsnormalize.cc | 47 FstClass *ifst = FstClass::Read(in_name); local 48 if (!ifst) return 1; 53 VectorFstClass ofst(ifst->ArcType()); 54 s::EpsNormalize(*ifst, &ofst, eps_norm_type);
|
fstinfo.cc | 52 FstClass *ifst = FstClass::Read(in_name); local 53 if (!ifst) return 1; 55 s::PrintFstInfo(*ifst, FLAGS_test_properties, FLAGS_arc_filter,
|
fstpush.cc | 53 FstClass *ifst = FstClass::Read(in_name); local 54 if (!ifst) return 1; 66 VectorFstClass ofst(ifst->ArcType()); 69 s::Push(*ifst, &ofst, flags, fst::REWEIGHT_TO_FINAL, FLAGS_delta); 71 s::Push(*ifst, &ofst, flags, fst::REWEIGHT_TO_INITIAL, FLAGS_delta);
|
fstreverse.cc | 50 FstClass *ifst = FstClass::Read(in_name); local 51 if (!ifst) return 1; 53 VectorFstClass *out = new VectorFstClass(ifst->ArcType()); 55 Reverse(*ifst, out);
|
fstsynchronize.cc | 44 FstClass *ifst = FstClass::Read(in_name); local 45 if (!ifst) return 1; 47 VectorFstClass ofst(ifst->ArcType()); 49 s::Synchronize(*ifst, &ofst);
|
fstshortestdistance.cc | 53 FstClass *ifst = FstClass::Read(in_fname); local 54 if (!ifst) return 1; 83 s::ShortestDistance(*ifst, &distance, FLAGS_reverse, FLAGS_delta); 87 s::ShortestDistance(*ifst, &distance, opts);
|
fstmap.cc | 55 FstClass *ifst = FstClass::Read(in_name); local 56 if (!ifst) return 1; 59 s::WeightClass(ifst->WeightType(), FLAGS_weight) : 92 FstClass *ofst = s::Map(*ifst, mt, FLAGS_delta, w);
|
fstrandgen.cc | 56 FstClass *ifst = FstClass::Read(in_name); local 57 if (!ifst) return 1; 59 VectorFstClass ofst(ifst->ArcType()); 75 s::RandGen(*ifst, &ofst, FLAGS_seed,
|
fstrmepsilon.cc | 54 FstClass *ifst = FstClass::Read(in_fname); local 55 if (!ifst) return 1; 59 WeightClass(ifst->WeightType(), FLAGS_weight); 83 MutableFstClass *ofst = new VectorFstClass(ifst->ArcType()); 84 s::RmEpsilon(*ifst, ofst, FLAGS_reverse, opts);
|
fstshortestpath.cc | 54 FstClass *ifst = FstClass::Read(in_fname); local 55 if (!ifst) return 1; 59 WeightClass(ifst->WeightType(), FLAGS_weight); 61 VectorFstClass ofst(ifst->ArcType()); 87 s::ShortestPath(*ifst, &ofst, &distance, opts);
|
fstreplace.cc | 43 FstClass *ifst = FstClass::Read(in_fname); local 44 if (!ifst) return 1; 50 fst_tuples.push_back(make_pair(root, ifst)); 53 ifst = s::FstClass::Read(argv[i]); 54 if (!ifst) return 1; 56 fst_tuples.push_back(make_pair(lab, ifst)); 59 VectorFstClass ofst(ifst->ArcType());
|
/external/openfst/src/extensions/pdt/ |
pdtinfo.cc | 45 s::FstClass *ifst = s::FstClass::Read(in_name); local 46 if (!ifst) return 1; 56 s::PrintPdtInfo(*ifst, parens);
|
pdtexpand.cc | 49 s::FstClass *ifst = s::FstClass::Read(in_name); local 50 if (!ifst) return 1; 62 s::WeightClass(ifst->WeightType(), FLAGS_weight); 64 s::VectorFstClass ofst(ifst->ArcType()); 65 s::PdtExpand(*ifst, parens, &ofst, s::PdtExpandOptions(
|
pdtreverse.cc | 44 s::FstClass *ifst = s::FstClass::Read(in_name); local 45 if (!ifst) return 1; 55 s::VectorFstClass ofst(ifst->ArcType()); 56 s::PdtReverse(*ifst, parens, &ofst);
|
pdtreplace.cc | 49 s::FstClass *ifst = s::FstClass::Read(in_fname); local 50 if (!ifst) return 1; 56 fst_tuples.push_back(make_pair(root, ifst)); 59 ifst = s::FstClass::Read(argv[i]); 60 if (!ifst) return 1; 62 fst_tuples.push_back(make_pair(lab, ifst)); 65 s::VectorFstClass ofst(ifst->ArcType());
|
pdtshortestpath.cc | 50 s::FstClass *ifst = s::FstClass::Read(in_name); local 51 if (!ifst) return 1; 61 s::VectorFstClass ofst(ifst->ArcType()); 77 s::PdtShortestPath(*ifst, parens, &ofst, opts);
|
/external/openfst/src/include/fst/script/ |
epsnormalize.h | 32 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>()); local 35 EpsNormalize(ifst, ofst, args->arg3); 38 void EpsNormalize(const FstClass &ifst, MutableFstClass *ofst,
|
synchronize.h | 31 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>()); local 34 Synchronize(ifst, ofst); 37 void Synchronize(const FstClass &ifst, MutableFstClass *ofst);
|
concat.h | 33 const Fst<Arc> &ifst = *(args->arg2.GetFst<Arc>()); local 35 Concat(ofst, ifst); 40 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>()); local 43 Concat(ifst, ofst); 46 void Concat(MutableFstClass *ofst, const FstClass &ifst); 47 void Concat(const FstClass &ifst, MutableFstClass *ofst);
|
push.h | 47 const Fst<Arc> &ifst = *(args->arg1.GetFst<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); 62 void Push(const FstClass &ifst, MutableFstClass *ofst, uint32 flags,
|
determinize.h | 47 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>()); local 58 Determinize(ifst, ofst, detargs); 61 void Determinize(const FstClass &ifst, MutableFstClass *ofst,
|
disambiguate.h | 47 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>()); local 58 Disambiguate(ifst, ofst, detargs); 61 void Disambiguate(const FstClass &ifst, MutableFstClass *ofst,
|
/external/openfst/src/include/fst/extensions/far/ |
create.h | 62 Fst<Arc> *ifst = Fst<Arc>::Read(inputs[i]); local 63 if (!ifst) return; 78 far_writer->Add(key_prefix + key + key_suffix, *ifst); 79 delete ifst;
|