HomeSort by relevance Sort by last modified time
    Searched defs:fst (Results 76 - 100 of 313) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/openfst/src/include/fst/
symbol-table-ops.h 28 #include <fst/fst.h>
29 #include <fst/symbol-table.h>
32 namespace fst { namespace
35 // passed fst. Symbols preserve their original numbering, so fst does not
38 SymbolTable *PruneSymbolTable(const Fst<Arc> &fst, const SymbolTable &syms,
42 StateIterator<Fst<Arc> > siter(fst);
    [all...]
  /external/openfst/src/script/
weight-class.cc 19 #include <fst/arc.h>
20 #include <fst/script/weight-class.h>
22 namespace fst { namespace
45 } // namespace fst
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
epsnormalize.h 26 #include "fst/lib/factor-weight.h"
27 #include "fst/lib/invert.h"
28 #include "fst/lib/map.h"
29 #include "fst/lib/rmepsilon.h"
31 namespace fst { namespace
35 // Returns an equivalent FST that is epsilon-normalized. An acceptor is
41 // The input FST needs to be functional.
48 void EpsNormalize(const Fst<Arc> &ifst, MutableFst<Arc> *ofst,
66 } // namespace fst
util.h 17 // FST utility inline definitions.
24 namespace fst { namespace
67 } // namespace fst;
push.h 18 // Class to reweight/push an FST.
23 #include "fst/lib/factor-weight.h"
24 #include "fst/lib/fst.h"
25 #include "fst/lib/map.h"
26 #include "fst/lib/reweight.h"
27 #include "fst/lib/shortest-distance.h"
29 namespace fst { namespace
31 // Pushes the weights in FST in the direction defined by TYPE. If
41 void Push(MutableFst<Arc> *fst, ReweightType type)
    [all...]
reweight.h 18 // Function to reweight an FST.
23 #include "fst/lib/mutable-fst.h"
25 namespace fst { namespace
29 // Reweight FST according to the potentials defined by the POTENTIAL
39 void Reweight(MutableFst<Arc> *fst, vector<typename Arc::Weight> potential,
43 if (!fst->NumStates())
45 while ( (int64)potential.size() < (int64)fst->NumStates())
58 for (StateIterator< MutableFst<Arc> > sit(*fst);
62 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state)
    [all...]
  /external/openfst/src/bin/
fstdraw.cc 22 #include <fst/script/draw.h>
46 namespace s = fst::script;
47 using fst::ostream;
48 using fst::SymbolTable;
52 usage += " [binary.fst [text.dot]]\n";
63 s::FstClass *fst = s::FstClass::Read(in_name); local
64 if (!fst) return 1;
70 ostrm = new fst::ofstream(argv[2]);
80 fst::SymbolTableTextOptions opts;
99 isyms = fst->InputSymbols()
    [all...]
fstprint.cc 23 #include <fst/script/print.h>
38 namespace s = fst::script;
39 using fst::ostream;
40 using fst::SymbolTable;
44 usage += " [binary.fst [text.fst]]\n";
56 s::FstClass *fst = s::FstClass::Read(in_name); local
57 if (!fst) return 1;
63 ostrm = new fst::ofstream(argv[2]);
73 fst::SymbolTableTextOptions opts
    [all...]
fstsymbols.cc 21 // attached to the input Fst.
24 #include <fst/script/fst-class.h>
25 #include <fst/script/script-impl.h>
26 #include <fst/script/verify.h>
27 #include <fst/util.h>
35 DEFINE_string(save_isymbols, "", "Save fst file's input symbol table to file");
36 DEFINE_string(save_osymbols, "", "Save fst file's output symbol table to file");
39 DEFINE_bool(verify, false, "Verify fst properities before saving");
42 namespace s = fst::script
60 s::MutableFstClass *fst = s::MutableFstClass::Read(in_fname, true); local
    [all...]
  /external/openfst/src/extensions/far/
farscript.cc 20 #include <fst/extensions/far/farscript.h>
21 #include <fst/script/script-impl.h>
22 #include <fst/extensions/far/far.h>
24 namespace fst { namespace
131 } // namespace fst
main.cc 30 #include <fst/extensions/far/main.h>
32 namespace fst { namespace
37 if (str == "fst")
53 return "fst";
100 FSTERROR() << "Empty FST archive: " << far_fname;
111 FSTERROR() << "Error reading FST: " << fst_fname;
118 } // namespace fst
  /external/openfst/src/extensions/pdt/
pdtscript.cc 20 // See comments in nlp/fst/script/script-impl.h for how the registration
29 #include <fst/extensions/pdt/compose.h>
30 #include <fst/extensions/pdt/expand.h>
31 #include <fst/extensions/pdt/pdtscript.h>
32 #include <fst/extensions/pdt/replace.h>
33 #include <fst/extensions/pdt/reverse.h>
34 #include <fst/extensions/pdt/shortest-path.h>
35 #include <fst/script/script-impl.h>
37 namespace fst { namespace
115 } // namespace fst
    [all...]
  /external/openfst/src/include/fst/extensions/far/
create.h 33 #include <fst/extensions/far/far.h>
35 namespace fst { namespace
62 Fst<Arc> *ifst = Fst<Arc>::Read(inputs[i]);
85 } // namespace fst
equal.h 22 #include <fst/extensions/far/far.h>
23 #include <fst/equal.h>
25 namespace fst { namespace
97 } // namespace fst
  /external/openfst/src/include/fst/script/
arcsort.h 20 #include <fst/arcsort.h>
21 #include <fst/script/arg-packs.h>
22 #include <fst/script/fst-class.h>
24 namespace fst { namespace
33 MutableFst<Arc> *fst = args->arg1->GetMutableFst<Arc>(); local
37 ArcSort(fst, icomp);
40 ArcSort(fst, ocomp);
47 } // namespace fst
compose.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/compose.h>
24 namespace fst { namespace
32 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>());
33 const Fst<Arc> &ifst2 = *(args->arg2.GetFst<Arc>());
39 typedef fst::ComposeOptions ComposeOptions;
46 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>());
47 const Fst<Arc> &ifst2 = *(args->arg2.GetFst<Arc>())
    [all...]
concat.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/concat.h>
24 namespace fst { namespace
33 const Fst<Arc> &ifst = *(args->arg2.GetFst<Arc>());
40 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>());
50 } // namespace fst
convert.h 22 #include <fst/script/arg-packs.h>
23 #include <fst/script/fst-class.h>
25 namespace fst { namespace
33 const Fst<Arc> &fst = *(args->args.arg1.GetFst<Arc>()); local
36 Fst<Arc> *result = Convert(fst, new_type);
47 } // namespace fst
difference.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/script/compose.h> // for ComposeFilter
23 #include <fst/difference.h>
25 namespace fst { namespace
33 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>());
34 const Fst<Arc> &ifst2 = *(args->arg2.GetFst<Arc>());
45 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>());
46 const Fst<Arc> &ifst2 = *(args->arg2.GetFst<Arc>())
    [all...]
encode.h 22 #include <fst/script/arg-packs.h>
23 #include <fst/script/fst-class.h>
24 #include <fst/encode.h>
26 namespace fst { namespace
50 void Encode(MutableFstClass *fst, uint32 flags, bool reuse_encoder,
54 } // namespace fst
equal.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/equal.h>
24 namespace fst { namespace
32 const Fst<Arc> &fst1 = *(args->args.arg1.GetFst<Arc>());
33 const Fst<Arc> &fst2 = *(args->args.arg2.GetFst<Arc>());
42 } // namespace fst
equivalent.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/equivalent.h>
24 namespace fst { namespace
33 const Fst<Arc> &fst1 = *(args->args.arg1.GetFst<Arc>());
34 const Fst<Arc> &fst2 = *(args->args.arg2.GetFst<Arc>());
43 } // namespace fst
intersect.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/intersect.h>
23 #include <fst/script/compose.h> // for ComposeOptions, ComposeFilter
25 namespace fst { namespace
33 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>());
34 const Fst<Arc> &ifst2 = *(args->arg2.GetFst<Arc>());
45 const Fst<Arc> &ifst1 = *(args->arg1.GetFst<Arc>());
46 const Fst<Arc> &ifst2 = *(args->arg2.GetFst<Arc>())
    [all...]
push.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/push.h>
24 namespace fst { namespace
35 fst::Push(ofst, REWEIGHT_TO_FINAL, args->arg3, args->arg4);
37 fst::Push(ofst, REWEIGHT_TO_INITIAL, args->arg3, args->arg4);
47 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>());
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)
    [all...]
relabel.h 26 #include <fst/script/arg-packs.h>
27 #include <fst/script/fst-class.h>
28 #include <fst/relabel.h>
30 namespace fst { namespace
75 MutableFst<Arc> *fst = args->arg1->GetMutableFst<Arc>(); local
76 Relabel(fst, args->arg2, args->arg3);
94 void Relabel(MutableFstClass *fst,
100 } // namespace fst

Completed in 245 milliseconds

1 2 34 5 6 7 8 91011>>