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

1 2 34 5 6 7

  /external/openfst/src/include/fst/
lookahead-matcher.h 19 // Classes to add lookahead to FST matchers, useful e.g. for improving
25 #include <fst/add-on.h>
26 #include <fst/const-fst.h>
27 #include <fst/fst.h>
28 #include <fst/label-reachable.h>
29 #include <fst/matcher.h>
35 namespace fst { namespace
43 // typedef F FST;
668 Fst<A> &fst = (*impl)->GetFst(); local
    [all...]
randgen.h 19 // Classes and functions to generate random paths through an FST.
29 #include <fst/accumulator.h>
30 #include <fst/cache.h>
31 #include <fst/dfs-visit.h>
32 #include <fst/mutable-fst.h>
34 namespace fst { namespace
38 // transition to take from an FST's state. They should return a number
54 size_t operator()(const Fst<A> &fst, StateId s) const
    [all...]
replace.h 35 #include <fst/cache.h>
36 #include <fst/expanded-fst.h>
37 #include <fst/fst.h>
38 #include <fst/matcher.h>
39 #include <fst/replace-util.h>
40 #include <fst/state-table.h>
41 #include <fst/test-properties.h>
43 namespace fst { namespace
373 const Fst<A> *fst = fst_tuples[i].second; local
480 const Fst<A>* fst = fst_array_[root_]; local
501 const Fst<A>* fst = fst_array_[tuple.fst_id]; local
523 const Fst<A>* fst = fst_array_[tuple.fst_id]; local
560 const Fst<A>* fst = fst_array_[tuple.fst_id]; local
597 const Fst<A>* fst = fst_array_[tuple.fst_id]; local
691 const Fst<A>* fst = fst_array_[tuple.fst_id]; local
1083 const Fst<A>* fst = fst_.GetImpl()->GetFst(tuple_.fst_id); local
    [all...]
fst.h 0 // fst.h
19 // Finite-State Transducer (FST) - abstract base class definition,
31 #include <fst/compat.h>
32 #include <fst/types.h>
34 #include <fst/arc.h>
35 #include <fst/properties.h>
36 #include <fst/register.h>
39 #include <fst/symbol-table.h>
40 #include <fst/util.h>
45 namespace fst { namespace
    [all...]
shortest-distance.h 19 // Functions and classes to find shortest distance in an FST.
28 #include <fst/arcfilter.h>
29 #include <fst/cache.h>
30 #include <fst/queue.h>
31 #include <fst/reverse.h>
32 #include <fst/test-properties.h>
35 namespace fst { namespace
43 StateId source; // If kNoStateId, use the Fst's initial state
49 // only if the FST has a unique final state (or all
52 // weights in the FST are between One() and Zero(
    [all...]
closure.h 19 // Functions and classes to compute the concatenative closure of an Fst.
28 #include <fst/mutable-fst.h>
29 #include <fst/rational.h>
32 namespace fst { namespace
35 // MutableFst input. If FST transduces string x to y with weight a,
46 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) {
51 uint64 props = fst->Properties(kFstProperties, false);
52 StateId start = fst->Start();
53 for (StateIterator< MutableFst<Arc> > siter(*fst);
    [all...]
fst-decl.h 0 // fst-decl.h
19 // This file contains declarations of classes in the Fst template library.
25 #include <fst/types.h>
27 namespace fst { namespace
50 template <class A> class Fst;
93 typedef Fst<StdArc> StdFst;
123 } // namespace fst
relabel.h 19 // Functions and classes to relabel an Fst (either on input or output)
33 #include <fst/cache.h>
34 #include <fst/test-properties.h>
37 namespace fst { namespace
45 // \param fst input fst, must be mutable
51 MutableFst<A> *fst,
57 uint64 props = fst->Properties(kFstProperties, false);
70 for (StateIterator<MutableFst<A> > siter(*fst);
73 for (MutableArcIterator<MutableFst<A> > aiter(fst, s)
    [all...]
epsnormalize.h 27 #include <fst/slist.h>
30 #include <fst/factor-weight.h>
31 #include <fst/invert.h>
32 #include <fst/arc-map.h>
33 #include <fst/rmepsilon.h>
36 namespace fst { namespace
40 // Returns an equivalent FST that is epsilon-normalized. An acceptor is
46 // The input FST needs to be functional.
53 void EpsNormalize(const Fst<Arc> &ifst, MutableFst<Arc> *ofst,
72 } // namespace fst
    [all...]
test-properties.h 28 #include <fst/dfs-visit.h>
29 #include <fst/connect.h>
34 namespace fst { namespace
64 // Computes FST property values defined in properties.h. The value of
72 // If 'use_stored' is true, pre-computed FST properties may be used
74 // is used to implement fst.Properties(mask, true).
76 uint64 ComputeProperties(const Fst<Arc> &fst, uint64 mask, uint64 *known,
82 uint64 fst_props = fst.Properties(kFstProperties, false); // Fst-store
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
equivalent.h 27 #include "fst/lib/encode.h"
28 #include "fst/lib/push.h"
29 #include "fst/lib/union-find.h"
30 #include "fst/lib/vector-fst.h"
32 namespace fst { namespace
59 // and 2, identifying the input FST.
74 static bool IsFinal(const Fst<Arc> &fa, MappedId s) {
113 bool Equivalent(const Fst<Arc> &fst1, const Fst<Arc> &fst2)
    [all...]
shortest-distance.h 18 // Functions and classes to find shortest distance in an FST.
25 #include "fst/lib/arcfilter.h"
26 #include "fst/lib/cache.h"
27 #include "fst/lib/queue.h"
28 #include "fst/lib/reverse.h"
29 #include "fst/lib/test-properties.h"
31 namespace fst { namespace
39 StateId source; // If kNoStateId, use the Fst's initial state
61 const Fst<Arc> &fst,
    [all...]
arcsort.h 17 // Functions and classes to sort arcs in an FST.
24 #include "fst/lib/cache.h"
25 #include "fst/lib/test-properties.h"
27 namespace fst { namespace
29 // Sorts the arcs in an FST according to function object 'comp' of
35 // sorted FST; it takes as argument the input FST's known properties
43 void ArcSort(MutableFst<Arc> *fst, Compare comp) {
46 uint64 props = fst->Properties(kFstProperties, false);
49 for (StateIterator< MutableFst<Arc> > siter(*fst);
    [all...]
closure.h 17 // Functions and classes to compute the concatenative closure of an Fst.
22 #include "fst/lib/mutable-fst.h"
23 #include "fst/lib/rational.h"
25 namespace fst { namespace
28 // MutableFst input. If FST transduces string x to y with weight a,
39 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) {
44 uint64 props = fst->Properties(kFstProperties, false);
45 StateId start = fst->Start();
46 for (StateIterator< MutableFst<Arc> > siter(*fst);
    [all...]
determinize.h 18 // Functions and classes to determinize an FST.
31 #include "fst/lib/cache.h"
32 #include "fst/lib/factor-weight.h"
33 #include "fst/lib/map.h"
34 #include "fst/lib/test-properties.h"
36 namespace fst { namespace
135 DeterminizeFstImplBase(const Fst<A> &fst, const CacheOptions &opts)
136 : CacheImpl<A>(opts), fst_(fst.Copy()) {
138 uint64 props = fst.Properties(kFstProperties, false)
    [all...]
invert.h 17 // Functions and classes to invert an Fst.
22 #include "fst/lib/map.h"
23 #include "fst/lib/mutable-fst.h"
25 namespace fst { namespace
41 // Inverts the transduction corresponding to an FST by exchanging the
42 // FST's input and output labels. This version modifies its input.
49 void Invert(MutableFst<Arc> *fst) { Map(fst, InvertMapper<Arc>()); }
52 // Inverts the transduction corresponding to an FST by exchanging th
    [all...]
map.h 23 #include "fst/lib/cache.h"
24 #include "fst/lib/mutable-fst.h"
26 namespace fst { namespace
43 // not the empty Fst).
58 // // This specifies the known properties of an Fst mapped by this
59 // // mapper. It takes as argument the input Fst's known properties.
66 // method to set the result Fst properties.
70 // new result Fst, or is an on-the-fly Fst. Another dimension is ho
    [all...]
prune.h 23 #include "fst/lib/arcfilter.h"
24 #include "fst/lib/shortest-distance.h"
26 namespace fst { namespace
51 // options class as an argment. Delete states and arcs in 'fst' that
56 void Prune(MutableFst<Arc> *fst,
67 StateId ns = fst->NumStates();
75 ShortestDistance(*fst, idistance, false);
82 ShortestDistance(*fst, fdistance, true);
88 dead.push_back(fst->AddState());
90 Weight ceiling = Times((*fdistance)[fst->Start()], opts.threshold)
    [all...]
  /external/openfst/src/test/
fst_test.h 19 // Regression test for FST classes.
24 #include <fst/equal.h>
25 #include <fst/matcher.h>
26 #include <fst/vector-fst.h>
27 #include <fst/verify.h>
31 namespace fst { namespace
33 // This tests an Fst F that is assumed to have a copy method from an
34 // arbitrary Fst. Some test functions make further assumptions mostly
36 // functions that take a test fst as its argument so that differen
    [all...]
  /external/openfst/src/include/fst/extensions/far/
extract.h 30 #include <fst/extensions/far/far.h>
32 namespace fst { namespace
53 const Fst<Arc> &fst = far_reader->GetFst(); local
77 fst.Write(filename_prefix + ofilename + filename_suffix);
83 } // namespace fst
  /external/openfst/src/include/fst/extensions/pdt/
info.h 33 #include <fst/fst.h>
34 #include <fst/extensions/pdt/pdt.h>
36 namespace fst { namespace
46 PdtInfo(const Fst<A> &fst,
77 PdtInfo<A>::PdtInfo(const Fst<A> &fst,
80 : fst_type_(fst.Type()),
100 for (StateIterator< Fst<A> > siter(fst)
    [all...]
  /external/openfst/src/include/fst/script/
determinize.h 20 #include <fst/determinize.h>
21 #include <fst/script/arg-packs.h>
22 #include <fst/script/fst-class.h>
23 #include <fst/script/weight-class.h>
25 namespace fst { namespace
34 explicit DeterminizeOptions(float d = fst::kDelta,
36 fst::script::WeightClass::Zero(),
37 int64 n = fst::kNoStateId, int64 l = 0)
47 const Fst<Arc> &ifst = *(args->arg1.GetFst<Arc>())
    [all...]
draw-impl.h 19 // Class to draw a binary FST by producing a text file in dot format,
28 #include <fst/script/fst-class.h>
29 #include <fst/fst.h>
30 #include <fst/util.h>
32 namespace fst { namespace
34 // Print a binary Fst in the dot textual format, helper class for fstdraw.cc
43 FstDrawer(const Fst<A> &fst,
    [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...]
replace.h 25 #include <fst/script/arg-packs.h>
26 #include <fst/script/fst-class.h>
27 #include <fst/replace.h>
29 namespace fst { namespace
38 // pair<real label, real fst> that the real Replace will use
42 vector<pair<typename Arc::Label, const Fst<Arc> *> > fst_tuples(
60 } // namespace fst

Completed in 277 milliseconds

1 2 34 5 6 7