HomeSort by relevance Sort by last modified time
    Searched refs:Fst (Results 26 - 50 of 156) sorted by null

12 3 4 5 6 7

  /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...]
randequivalent.h 20 // strings from one FST are transduced the same by both FSTs.
25 #include <fst/arcsort.h>
26 #include <fst/compose.h>
27 #include <fst/project.h>
28 #include <fst/randgen.h>
29 #include <fst/shortest-distance.h>
30 #include <fst/vector-fst.h>
33 namespace fst { namespace
44 bool RandEquivalent(const Fst<Arc> &fst1, const Fst<Arc> &fst2
73 const Fst<Arc> &fst = rand() % 2 ? sfst1 : sfst2; local
    [all...]
dfs-visit.h 29 #include <fst/arcfilter.h>
30 #include <fst/fst.h>
33 namespace fst { namespace
51 // void InitVisit(const Fst<Arc> &fst);
67 // An Fst state's DFS status
72 // An Fst state's DFS stack state
77 DfsState(const Fst<Arc> &fst, StateId s): state_id(s), arc_iter(fst, s) {
    [all...]
map.h 26 #include <fst/arc-map.h>
29 namespace fst { namespace
32 void Map(MutableFst<A> *fst, C* mapper) {
33 ArcMap(fst, mapper);
37 void Map(MutableFst<A> *fst, C mapper) {
38 ArcMap(fst, mapper);
42 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) {
47 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) {
61 MapFst(const Fst<A> &fst, const C &mapper, const MapFstOptions& opts
    [all...]
state-map.h 33 #include <fst/cache.h>
34 #include <fst/arc-map.h>
35 #include <fst/mutable-fst.h>
38 namespace fst { namespace
49 // StateMapper(const Fst<A> &fst);
50 // // Required copy constructor that allows updating Fst argument;
52 // StateMapper(const StateMapper &mapper, const Fst<A> *fst = 0)
    [all...]
reverse.h 19 // Functions and classes to sort arcs in an FST.
28 #include <fst/cache.h>
31 namespace fst { namespace
33 // Reverses an FST. The reversed result is written to an output
43 void Reverse(const Fst<Arc> &ifst, MutableFst<RevArc> *ofst) {
57 for (StateIterator< Fst<Arc> > siter(ifst);
73 for (ArcIterator< Fst<Arc> > aiter(ifst, is);
89 } // namespace fst
rmfinalepsilon.h 30 #include <fst/connect.h>
31 #include <fst/mutable-fst.h>
34 namespace fst { namespace
37 void RmFinalEpsilon(MutableFst<A>* fst) {
46 DfsVisit(*fst, &scc_visitor);
52 for (StateIterator<Fst<A> > siter(*fst); !siter.Done(); siter.Next()) {
54 if (fst->Final(s) != Weight::Zero()) {
56 for (ArcIterator<Fst<A> > aiter(*fst, s); !aiter.Done(); aiter.Next())
    [all...]
verify.h 19 // Function to verify an Fst's contents
24 #include <fst/fst.h>
25 #include <fst/test-properties.h>
28 namespace fst { namespace
30 // Verifies that an Fst's contents are sane.
32 bool Verify(const Fst<Arc> &fst, bool allow_negative_labels = false) {
37 StateId start = fst.Start();
38 const SymbolTable *isyms = fst.InputSymbols()
    [all...]
difference.h 28 #include <fst/cache.h>
29 #include <fst/compose.h>
30 #include <fst/complement.h>
33 namespace fst { namespace
36 class M = Matcher<Fst<A> >,
49 // Fst. Only strings that are in the first automaton but not in second
72 DifferenceFst(const Fst<A> &fst1, const Fst<A> &fst2,
74 typedef RhoMatcher< Matcher<Fst<A> > > R;
90 DifferenceFst(const Fst<A> &fst1, const Fst<A> &fst2
    [all...]
rational.h 19 // An Fst implementation and base interface for delayed unions,
30 #include <fst/mutable-fst.h>
31 #include <fst/replace.h>
32 #include <fst/test-properties.h>
35 namespace fst { namespace
44 template <class A> void Union(RationalFst<A> *fst1, const Fst<A> &fst2);
45 template <class A> void Concat(RationalFst<A> *fst1, const Fst<A> &fst2);
46 template <class A> void Concat(const Fst<A> &fst1, RationalFst<A> *fst2);
47 template <class A> void Closure(RationalFst<A> *fst, ClosureType closure_type)
    [all...]
expanded-fst.h 1 // expanded-fst.h
19 // Generic FST augmented with state count - interface class definition.
28 #include <fst/fst.h>
31 namespace fst { namespace
33 // A generic FST plus state count.
35 class ExpandedFst : public Fst<A> {
42 // Get a copy of this ExpandedFst. See Fst<>::Copy() for further doc.
64 LOG(ERROR) << "ExpandedFst::Read: Unknown FST type \"" << hdr.FstType()
69 Fst<A> *fst = reader(strm, ropts) local
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
randgen.h 17 // Function to generate random paths through an FST.
26 #include "fst/lib/mutable-fst.h"
28 namespace fst { namespace
32 // transition to take from an FST's state. They should return a number
48 size_t operator()(const Fst<A> &fst, StateId s) const {
50 size_t n = fst.NumArcs(s);
51 if (fst.Final(s) != Weight::Zero())
69 size_t operator()(const Fst<A> &fst, StateId s) const
    [all...]
rational.h 17 // An Fst implementation and base interface for delayed unions,
23 #include "fst/lib/map.h"
24 #include "fst/lib/mutable-fst.h"
25 #include "fst/lib/replace.h"
26 #include "fst/lib/test-properties.h"
28 namespace fst { namespace
37 template <class A> void Union(RationalFst<A> *fst1, const Fst<A> &fst2);
38 template <class A> void Concat(RationalFst<A> *fst1, const Fst<A> &fst2);
39 template <class A> void Closure(RationalFst<A> *fst, ClosureType closure_type)
    [all...]
reverse.h 17 // Functions and classes to sort arcs in an FST.
22 #include "fst/lib/cache.h"
24 namespace fst { namespace
26 // Reverses an FST. The reversed result is written to an output
36 void Reverse(const Fst<Arc> &ifst, MutableFst<RevArc> *ofst) {
48 for (StateIterator< Fst<Arc> > siter(ifst);
64 for (ArcIterator< Fst<Arc> > aiter(ifst, is);
80 } // namespace fst
verify.h 22 #include "fst/lib/fst.h"
23 #include "fst/lib/test-properties.h"
25 namespace fst { namespace
27 // Verifies that an Fst's contents are sane.
29 bool Verify(const Fst<Arc> &fst) {
34 StateId start = fst.Start();
35 const SymbolTable *isyms = fst.InputSymbols();
36 const SymbolTable *osyms = fst.OutputSymbols()
    [all...]
fst-decl.h 0 // fst-decl.h
22 namespace fst { namespace
35 template <class A> class Fst;
59 typedef Fst<StdArc> StdFst;
  /external/openfst/src/include/fst/script/
compile.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/script/compile-impl.h>
24 namespace fst { namespace
32 fst::istream &istrm;
36 const fst::SymbolTable *isyms;
37 const fst::SymbolTable *osyms;
38 const fst::SymbolTable *ssyms;
46 const string &fst_type, const fst::SymbolTable *isyms
69 const Fst<Arc> *fst = &fstcompiler.Fst(); local
    [all...]
epsnormalize.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/epsnormalize.h>
24 namespace fst { namespace
32 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>());
42 } // namespace fst
print-impl.h 28 #include <fst/fst.h>
29 #include <fst/util.h>
33 namespace fst { namespace
35 // Print a binary Fst in textual format, helper class for fstprint.cc
45 FstPrinter(const Fst<A> &fst,
51 : fst_(fst), isyms_(isyms), osyms_(osyms), ssyms_(ssyms),
52 accep_(accep && fst.Properties(kAcceptor, true)), ostrm_(0),
55 // Print Fst to an output strea
    [all...]
randequivalent.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/script/randgen.h> // for RandArcSelection
23 #include <fst/randequivalent.h>
25 namespace fst { namespace
36 const Fst<Arc> &fst1 = *(args->args.arg1.GetFst<Arc>());
37 const Fst<Arc> &fst2 = *(args->args.arg2.GetFst<Arc>());
54 const Fst<Arc> &fst1 = *(args->args.arg1.GetFst<Arc>());
55 const Fst<Arc> &fst2 = *(args->args.arg2.GetFst<Arc>())
    [all...]
reverse.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/reverse.h>
24 namespace fst { namespace
31 const Fst<Arc> &fst1 = *(args->arg1.GetFst<Arc>());
40 } // namespace fst
synchronize.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/synchronize.h>
24 namespace fst { namespace
31 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>());
40 } // namespace fst
union.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/union.h>
24 namespace fst { namespace
32 const Fst<Arc> &fst2 = *(args->arg2.GetFst<Arc>());
40 } // namespace fst
fst-class.h 22 #include <fst/fst.h>
23 #include <fst/mutable-fst.h>
24 #include <fst/vector-fst.h>
28 // Classes to support "boxing" all existing types of FST arcs in a single
36 namespace fst { namespace
70 // Wraps an Fst<Arc>, hiding its arc type. Whether this Fst<Arc
253 Fst<Arc> *fst = const_cast<Fst<Arc> *>(this->GetFst<Arc>()); local
    [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

Completed in 308 milliseconds

12 3 4 5 6 7