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

1 23 4 5 6 7

  /external/openfst/src/include/fst/script/
map.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/script/weight-class.h>
23 #include <fst/arc-map.h>
24 #include <fst/state-map.h>
26 namespace fst { namespace
30 Fst<typename M::ToArc> *ArcMap(const Fst<typename M::FromArc> &fst,
    [all...]
shortest-distance.h 23 #include <fst/script/arg-packs.h>
24 #include <fst/script/fst-class.h>
25 #include <fst/script/weight-class.h>
26 #include <fst/script/prune.h> // for ArcFilterType
27 #include <fst/queue.h> // for QueueType
28 #include <fst/shortest-distance.h>
30 namespace fst { namespace
36 // See nlp/fst/lib/shortest-distance.h for the template options class
60 static Queue *Construct(const Fst<Arc> &
103 const Fst<Arc> &fst = *(args->arg1.GetFst<Arc>()); local
206 const Fst<Arc> &fst = *(args->arg1.GetFst<Arc>()); local
226 const Fst<Arc> &fst = *(args->args.GetFst<Arc>()); local
    [all...]
info.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/script/info-impl.h>
24 namespace fst { namespace
32 const Fst<Arc> &fst = *(args->arg1.GetFst<Arc>()); local
33 FstInfo<Arc> fstinfo(fst, args->arg2, args->arg3,
38 fst.Write("");
46 } // namespace fst
    [all...]
print.h 20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/script/print-impl.h>
24 namespace fst { namespace
32 const FstClass &fst; member in struct:fst::script::FstPrinterArgs
41 FstPrinterArgs(const FstClass &fst,
49 fst(fst), isyms(isyms), osyms(osyms), ssyms(ssyms), accept(accept),
55 const Fst<Arc> &fst = *(args->fst.GetFst<Arc>()) local
    [all...]
  /external/openfst/src/include/fst/
visit.h 26 #include <fst/arcfilter.h>
27 #include <fst/mutable-fst.h>
30 namespace fst { namespace
47 // void InitVisit(const Fst<Arc> &fst);
69 void Visit(const Fst<Arc> &fst, V *visitor, Q *queue, ArcFilter filter) {
72 typedef ArcIterator< Fst<Arc> > AIterator;
74 visitor->InitVisit(fst);
    [all...]
state-reachable.h 28 #include <fst/dfs-visit.h>
29 #include <fst/fst.h>
30 #include <fst/interval-set.h>
33 namespace fst { namespace
35 // Computes the (final) states reachable from a given state in an FST.
52 IntervalReachVisitor(const Fst<A> &fst,
55 : fst_(fst),
63 void InitVisit(const Fst<A> &fst) { error_ = false;
    [all...]
arcsort.h 19 // Functions and classes to sort arcs in an FST.
29 #include <fst/cache.h>
30 #include <fst/state-map.h>
31 #include <fst/test-properties.h>
34 namespace fst { namespace
45 ArcSortMapper(const Fst<Arc> &fst, const Compare &comp)
46 : fst_(fst), comp_(comp), i_(0) {}
48 // Allows updating Fst argument; pass only if changed.
50 const Fst<Arc> *fst = 0
    [all...]
complement.h 19 // Class to complement an Fst.
29 #include <fst/fst.h>
30 #include <fst/test-properties.h>
33 namespace fst { namespace
63 explicit ComplementFstImpl(const Fst<A> &fst) : fst_(fst.Copy()) {
65 uint64 props = fst.Properties(kILabelSorted, false);
67 SetInputSymbols(fst.InputSymbols())
    [all...]
state-table.h 28 #include <fst/bi-table.h>
29 #include <fst/expanded-fst.h>
32 namespace fst { namespace
35 // tuples (e.g. in composition triples of two FST states and a
194 // ComposeStateTable(const Fst<Arc> &fst1, const Fst<Arc> &fst2);
269 GenericComposeStateTable(const Fst<A> &fst1, const Fst<A> &fst2) {}
290 LOG(WARNING) << "TupleFingerprint: # of FST states should be provided."
    [all...]
replace-util.h 36 #include <fst/connect.h>
37 #include <fst/mutable-fst.h>
38 #include <fst/topsort.h>
41 namespace fst { namespace
44 void Replace(const vector<pair<typename Arc::Label, const Fst<Arc>* > >&,
49 // user provides a set of Label, Fst pairs at construction. These are
51 // and doing RTN connection and specific Fst replacement by label or
61 typedef pair<Label, const Fst<Arc>*> FstPair;
65 // Constructs from mutable Fsts; Fst ownership given to ReplaceUtil
204 MutableFst<Arc> *fst = fst_pairs[i].second; local
227 const Fst<Arc> *fst = fst_pairs[i].second; local
392 MutableFst<Arc> *fst = mutable_fst_array_[i]; local
463 const Fst<Arc> *fst = fst_array_[arc.nextstate]; local
469 const Fst<Arc> *fst = fst_array_[s]; local
527 const Fst<Arc> *fst = fst_array_[i]; local
541 MutableFst<Arc> *fst = mutable_fst_array_[i]; local
    [all...]
mutable-fst.h 1 // mutable-fst.h
19 // Expanded FST augmented with mutators - interface class definition
32 #include <fst/expanded-fst.h>
35 namespace fst { namespace
39 // An expanded FST plus mutators (use MutableArcIterator to modify arcs).
47 virtual MutableFst<A> &operator=(const Fst<A> &fst) = 0;
49 MutableFst<A> &operator=(const MutableFst<A> &fst) {
50 return operator=(static_cast<const Fst<A> &>(fst))
111 Fst<A> *fst = reader(strm, ropts); local
    [all...]
minimize.h 33 #include <fst/arcsort.h>
34 #include <fst/connect.h>
35 #include <fst/dfs-visit.h>
36 #include <fst/encode.h>
37 #include <fst/factor-weight.h>
38 #include <fst/fst.h>
39 #include <fst/mutable-fst.h>
40 #include <fst/partition.h
47 namespace fst { namespace
    [all...]
equivalent.h 34 #include <fst/encode.h>
35 #include <fst/push.h>
36 #include <fst/union-find.h>
37 #include <fst/vector-fst.h>
40 namespace fst { namespace
67 // and 2, identifying the input FST.
82 static bool IsFinal(const Fst<Arc> &fa, MappedId s) {
129 bool Equivalent(const Fst<Arc> &fst1,
130 const Fst<Arc> &fst2
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
complement.h 17 // Class to complement an Fst.
24 #include "fst/lib/fst.h"
25 #include "fst/lib/test-properties.h"
27 namespace fst { namespace
57 explicit ComplementFstImpl(const Fst<A> &fst) : fst_(fst.Copy()) {
59 uint64 props = fst.Properties(kILabelSorted, false);
61 SetInputSymbols(fst.InputSymbols())
    [all...]
epsnormalize.h 28 #include "fst/lib/factor-weight.h"
29 #include "fst/lib/invert.h"
30 #include "fst/lib/map.h"
31 #include "fst/lib/rmepsilon.h"
33 namespace fst { namespace
37 // Returns an equivalent FST that is epsilon-normalized. An acceptor is
43 // The input FST needs to be functional.
50 void EpsNormalize(const Fst<Arc> &ifst, MutableFst<Arc> *ofst,
68 } // namespace fst
arcsum.h 17 // Functions to sum arcs (sum weights) in an fst.
22 #include "fst/lib/mutable-fst.h"
23 #include "fst/lib/weight.h"
25 namespace fst { namespace
57 void ArcSum(MutableFst<A>* fst) {
61 for (StateIterator<Fst<A> > siter(*fst); !siter.Done(); siter.Next()) {
63 if (fst->NumArcs(s) == 0) continue;
67 arcs.reserve(fst->NumArcs(s))
    [all...]
replace.h 26 #include "fst/lib/fst.h"
27 #include "fst/lib/cache.h"
28 #include "fst/lib/test-properties.h"
30 namespace fst { namespace
34 // create an epsilon arc when recursing into the appropriate Fst.
52 // \brief Implementation class for replace class Fst
55 // expansion of a recursive transition network represented as Fst
91 StateId fst_id; // current fst being walked
92 StateId fst_state; // current state in fst being walked, not to b
224 const Fst<A>* fst = fst_array_[root_]; local
244 const Fst<A>* fst = fst_array_[tuple.fst_id]; local
298 const Fst<A>* fst = fst_array_[tuple.fst_id]; local
    [all...]
compose.h 27 #include "fst/lib/cache.h"
28 #include "fst/lib/test-properties.h"
30 namespace fst { namespace
33 // properties of FST composition (in the template parameter to
34 // ComposeFstOptions<T>). The bits stand for extensions of generic FST
105 ComposeFstImplBase(const Fst<A> &fst1,
106 const Fst<A> &fst2,
179 const Fst<A> *fst1_; // first input Fst
180 const Fst<A> *fst2_; // second input Fs
    [all...]
relabel.h 17 // Functions and classes to relabel an Fst (either on input or output)
25 #include "fst/lib/cache.h"
26 #include "fst/lib/test-properties.h"
29 namespace fst { namespace
37 // \param fst input fst, must be mutable
43 MutableFst<A> *fst,
49 uint64 props = fst->Properties(kFstProperties, false);
62 for (StateIterator<MutableFst<A> > siter(*fst);
65 for (MutableArcIterator<MutableFst<A> > aiter(fst, s)
    [all...]
minimize.h 25 #include "fst/lib/arcsort.h"
26 #include "fst/lib/arcsum.h"
27 #include "fst/lib/connect.h"
28 #include "fst/lib/dfs-visit.h"
29 #include "fst/lib/encode.h"
30 #include "fst/lib/factor-weight.h"
31 #include "fst/lib/fst.h"
32 #include "fst/lib/mutable-fst.h
38 namespace fst { namespace
    [all...]
  /external/openfst/src/test/
algo_test.h 19 // Regression test for various FST algorithms.
24 #include <fst/fstlib.h>
25 #include <fst/random-weight.h>
29 namespace fst { namespace
69 WeightedTester(int seed, const Fst<Arc> &zero_fst, const Fst<Arc> &one_fst,
70 const Fst<Arc> &univ_fst, WeightGenerator *weight_generator)
74 void Test(const Fst<Arc> &T1, const Fst<Arc> &T2, const Fst<Arc> &T3)
    [all...]
  /external/openfst/src/include/fst/extensions/far/
info.h 27 #include <fst/extensions/far/far.h>
28 #include <fst/extensions/far/main.h> // For FarTypeToString
30 namespace fst { namespace
33 void CountStatesAndArcs(const Fst<Arc> &fst, size_t *nstate, size_t *narc) {
34 StateIterator<Fst<Arc> > siter(fst);
36 ArcIterator<Fst<Arc> > aiter(fst, siter.Value());
68 const Fst<Arc> &fst = far_reader->GetFst() local
    [all...]
  /external/openfst/src/include/fst/extensions/pdt/
reverse.h 19 // Expand a PDT to an FST.
30 #include <fst/mutable-fst.h>
31 #include <fst/relabel.h>
32 #include <fst/reverse.h>
34 namespace fst { namespace
36 // Reverses a pushdown transducer (PDT) encoded as an FST.
38 void Reverse(const Fst<Arc> &ifst,
44 // Reverses FST
56 } // namespace fst
    [all...]
replace.h 19 // Recursively replace Fst arcs with other Fst(s) returning a PDT.
24 #include <fst/replace.h>
26 namespace fst { namespace
41 // identical to that in fst/lib/replace.h. The result is a PDT
42 // encoded as the FST 'ofst' where some transitions are labeled with
48 const Fst<Arc>* > >& ifst_array,
71 // PDT state corr. to ith replace FST start state.
73 // PDT state, weight pairs corr. to ith replace FST final state & weights.
76 // Builds single Fst combining all referenced input Fsts. Leaves in th
    [all...]
  /external/srec/tools/grxmlcompile/
fst-io.h 4 // fst-io.h
25 // Classes and functions to compile a binary Fst from textual input.
32 #include "fst/lib/fst.h"
33 #include "fst/lib/fstlib.h"
34 #include "fst/lib/fst-decl.h"
35 #include "fst/lib/vector-fst.h"
36 #include "fst/lib/arcsort.h
39 namespace fst { namespace
    [all...]

Completed in 142 milliseconds

1 23 4 5 6 7