Searched refs:fst (Results 176 - 200 of 404) sorted by relevance

1234567891011>>

/external/openfst/src/include/fst/
H A Drmepsilon.h27 #include <fst/slist.h>
35 #include <fst/arcfilter.h>
36 #include <fst/cache.h>
37 #include <fst/connect.h>
38 #include <fst/factor-weight.h>
39 #include <fst/invert.h>
40 #include <fst/prune.h>
41 #include <fst/queue.h>
42 #include <fst/shortest-distance.h>
43 #include <fst/topsor
46 namespace fst { namespace
77 RmEpsilonState(const Fst<Arc> &fst, vector<Weight> *distance, const RmEpsilonOptions<Arc, Queue> &opts) argument
228 RmEpsilon(MutableFst<Arc> *fst, vector<typename Arc::Weight> *distance, const RmEpsilonOptions<Arc, Queue> &opts) argument
349 RmEpsilon(MutableFst<Arc> *fst, bool connect = true, typename Arc::Weight weight_threshold = Arc::Weight::Zero(), typename Arc::StateId state_threshold = kNoStateId, float delta = kDelta) argument
399 RmEpsilonFstImpl(const Fst<A>& fst, const RmEpsilonFstOptions &opts) argument
533 RmEpsilonFst(const Fst<A> &fst) argument
536 RmEpsilonFst(const Fst<A> &fst, const RmEpsilonFstOptions &opts) argument
540 RmEpsilonFst(const RmEpsilonFst<A> &fst, bool safe = false) argument
566 StateIterator(const RmEpsilonFst<A> &fst) argument
578 ArcIterator(const RmEpsilonFst<A> &fst, StateId s) argument
[all...]
H A Drandequivalent.h25 #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
73 const Fst<Arc> &fst = rand() % 2 ? sfst1 : sfst2; local
74 RandGen(fst,
[all...]
H A Dcompat.h37 #include <fst/config.h>
38 #include <fst/types.h>
39 #include <fst/lock.h>
40 #include <fst/flags.h>
41 #include <fst/log.h>
42 #include <fst/icu.h>
52 namespace fst { namespace
113 } // namespace fst
H A Dstate-map.h33 #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);
52 // StateMapper(const StateMapper &mapper, const Fst<A> *fst = 0);
90 void StateMap(MutableFst<A> *fst, C* mapper) { argument
95 fst->SetInputSymbols(0);
98 fst
121 StateMap(MutableFst<A> *fst, C mapper) argument
208 StateMapFstImpl(const Fst<A> &fst, const C &mapper, const StateMapFstOptions& opts) argument
217 StateMapFstImpl(const Fst<A> &fst, C *mapper, const StateMapFstOptions& opts) argument
339 StateMapFst(const Fst<A> &fst, const C &mapper, const StateMapFstOptions& opts) argument
343 StateMapFst(const Fst<A> &fst, C* mapper, const StateMapFstOptions& opts) argument
346 StateMapFst(const Fst<A> &fst, const C &mapper) argument
349 StateMapFst(const Fst<A> &fst, C* mapper) argument
353 StateMapFst(const StateMapFst<A, B, C> &fst, bool safe = false) argument
384 ArcIterator(const StateMapFst<A, B, C> &fst, StateId s) argument
408 IdentityStateMapper(const Fst<A> &fst) argument
449 ArcSumMapper(const Fst<A> &fst) argument
533 ArcUniqueMapper(const Fst<A> &fst) argument
[all...]
H A Depsnormalize.h29 #include <fst/factor-weight.h>
30 #include <fst/invert.h>
31 #include <fst/arc-map.h>
32 #include <fst/rmepsilon.h>
35 namespace fst { namespace
71 } // namespace fst
H A Drelabel.h33 #include <fst/cache.h>
34 #include <fst/test-properties.h>
41 namespace fst { namespace
49 // \param fst input fst, must be mutable
55 MutableFst<A> *fst,
61 uint64 props = fst->Properties(kFstProperties, false);
74 for (StateIterator<MutableFst<A> > siter(*fst);
77 for (MutableArcIterator<MutableFst<A> > aiter(fst, s);
89 fst
54 Relabel( MutableFst<A> *fst, const vector<pair<typename A::Label, typename A::Label> >& ipairs, const vector<pair<typename A::Label, typename A::Label> >& opairs) argument
125 Relabel(MutableFst<A> *fst, const SymbolTable* new_isymbols, const SymbolTable* new_osymbols) argument
134 Relabel(MutableFst<A> *fst, const SymbolTable* old_isymbols, const SymbolTable* new_isymbols, bool attach_new_isymbols, const SymbolTable* old_osymbols, const SymbolTable* new_osymbols, bool attach_new_osymbols) argument
212 RelabelFstImpl(const Fst<A>& fst, const vector<pair<Label, Label> >& ipairs, const vector<pair<Label, Label> >& opairs, const RelabelFstOptions &opts) argument
239 RelabelFstImpl(const Fst<A>& fst, const SymbolTable* old_isymbols, const SymbolTable* new_isymbols, const SymbolTable* old_osymbols, const SymbolTable* new_osymbols, const RelabelFstOptions &opts) argument
398 RelabelFst(const Fst<A>& fst, const vector<pair<Label, Label> >& ipairs, const vector<pair<Label, Label> >& opairs) argument
403 RelabelFst(const Fst<A>& fst, const vector<pair<Label, Label> >& ipairs, const vector<pair<Label, Label> >& opairs, const RelabelFstOptions &opts) argument
409 RelabelFst(const Fst<A>& fst, const SymbolTable* new_isymbols, const SymbolTable* new_osymbols) argument
416 RelabelFst(const Fst<A>& fst, const SymbolTable* new_isymbols, const SymbolTable* new_osymbols, const RelabelFstOptions &opts) argument
423 RelabelFst(const Fst<A>& fst, const SymbolTable* old_isymbols, const SymbolTable* new_isymbols, const SymbolTable* old_osymbols, const SymbolTable* new_osymbols) argument
431 RelabelFst(const Fst<A>& fst, const SymbolTable* old_isymbols, const SymbolTable* new_isymbols, const SymbolTable* old_osymbols, const SymbolTable* new_osymbols, const RelabelFstOptions &opts) argument
441 RelabelFst(const RelabelFst<A> &fst, bool safe = false) argument
468 StateIterator(const RelabelFst<A> &fst) argument
508 ArcIterator(const RelabelFst<A> &fst, StateId s) argument
[all...]
/external/openfst/src/include/fst/extensions/far/
H A Dprint-strings.h29 #include <fst/extensions/far/far.h>
30 #include <fst/shortest-distance.h>
31 #include <fst/string.h>
35 namespace fst { namespace
89 const Fst<Arc> &fst = far_reader->GetFst(); local
90 if (i == 1 && initial_symbols && syms == 0 && fst.InputSymbols() != 0)
91 syms = fst.InputSymbols()->Copy();
95 token_type, syms ? syms : fst.InputSymbols());
96 string_printer(fst, &str);
103 cout << FLAGS_far_field_separator[0] << ShortestDistance(fst);
[all...]
H A Dcompile-strings.h28 #include <fst/extensions/far/far.h>
29 #include <fst/string.h>
31 namespace fst { namespace
39 // Fst *fst = reader.GetVectorFst();
91 VectorFst<A> *fst = new VectorFst<A>; local
93 fst->SetInputSymbols(symbols_);
94 fst->SetOutputSymbols(symbols_);
96 if (compiler_(content_, fst)) {
97 return fst;
99 delete fst;
105 CompactFst<A, StringCompactor<A> > *fst; local
251 const Fst<Arc> *fst; local
[all...]
/external/openfst/src/script/
H A Dfst-class.cc21 #include <fst/script/fst-class.h>
22 #include <fst/script/register.h>
23 #include <fst/fst-decl.h>
24 #include <fst/union.h>
25 #include <fst/reverse.h>
26 #include <fst/equal.h>
28 namespace fst { namespace
100 if (ifst->Properties(fst
[all...]
H A Dcompose.cc17 #include <fst/script/fst-class.h>
18 #include <fst/script/script-impl.h>
19 #include <fst/script/compose.h>
21 namespace fst { namespace
51 } // namespace fst
H A Ddifference.cc17 #include <fst/script/fst-class.h>
18 #include <fst/script/script-impl.h>
19 #include <fst/script/difference.h>
21 namespace fst { namespace
50 } // namespace fst
H A Dintersect.cc17 #include <fst/script/fst-class.h>
18 #include <fst/script/script-impl.h>
19 #include <fst/script/intersect.h>
21 namespace fst { namespace
50 } // namespace fst
H A Dpush.cc17 #include <fst/script/fst-class.h>
18 #include <fst/script/script-impl.h>
19 #include <fst/script/push.h>
21 namespace fst { namespace
49 } // namespace fst
H A Drandequivalent.cc17 #include <fst/script/fst-class.h>
18 #include <fst/script/script-impl.h>
19 #include <fst/script/randequivalent.h>
21 namespace fst { namespace
61 } // namespace fst
H A Dshortest-path.cc17 #include <fst/script/fst-class.h>
18 #include <fst/script/script-impl.h>
19 #include <fst/script/shortest-path.h>
21 namespace fst { namespace
53 } // namespace fst
/external/openfst/src/include/fst/script/
H A Dscript-impl.h103 #include <fst/script/fst-class.h>
104 #include <fst/generic-register.h>
105 #include <fst/script/arg-packs.h>
107 #include <fst/types.h>
109 namespace fst { namespace
172 static fst::script::Operation<ArgPack>::Registerer \
204 } // namespace fst
H A Dconcat.h20 #include <fst/script/arg-packs.h>
21 #include <fst/script/fst-class.h>
22 #include <fst/concat.h>
24 namespace fst { namespace
50 } // namespace fst
H A Dreplace.h25 #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
60 } // namespace fst
H A Dinfo-impl.h28 #include <fst/connect.h>
29 #include <fst/dfs-visit.h>
30 #include <fst/fst.h>
31 #include <fst/lookahead-matcher.h>
32 #include <fst/matcher.h>
33 #include <fst/queue.h>
34 #include <fst/test-properties.h>
35 #include <fst/verify.h>
36 #include <fst/visi
38 namespace fst { namespace
53 FstInfo(const Fst<A> &fst, bool test_properties, const string &arc_filter_type = �, string info_type = �, bool verify = true) argument
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dtopsort.h25 #include "fst/lib/dfs-visit.h"
26 #include "fst/lib/fst.h"
27 #include "fst/lib/statesort.h"
29 namespace fst { namespace
44 void InitVisit(const Fst<A> &fst) { argument
86 bool TopSort(MutableFst<Arc> *fst) { argument
93 DfsVisit(*fst, &top_order_visitor);
96 StateSort(fst, order);
97 fst
[all...]
H A Dminimize.h25 #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
38 namespace fst { namespace
58 StateComparator(const Fst<A>& fst, const Partition<typename A::StateId>& partition, int32 flags = kCompareAll) argument
124 CyclicMinimizer(const ExpandedFst<A>& fst) argument
169 PrePartition(const Fst<A>& fst) argument
201 Initialize(const Fst<A>& fst) argument
261 Compute(const Fst<A>& fst) argument
305 AcyclicMinimizer(const ExpandedFst<A>& fst) argument
322 InitVisit(const Fst<A>& fst) argument
379 Initialize(const Fst<A>& fst) argument
393 Refine(const Fst<A>& fst) argument
441 MergeStates( const Partition<typename A::StateId>& partition, MutableFst<A>* fst) argument
474 AcceptorMinimize(MutableFst<A>* fst) argument
514 Minimize(MutableFst<A>* fst, MutableFst<A>* sfst = 0) argument
[all...]
/external/openfst/src/lib/
H A Dfst.cc0 // fst.cc
21 #include <fst/fst.h>
24 #include <fst/compact-fst.h>
25 #include <fst/const-fst.h>
26 #include <fst/matcher-fst.h>
27 #include <fst/vecto
58 namespace fst { namespace
[all...]
/external/openfst/src/bin/
H A Dfstrandgen.cc22 #include <fst/script/randgen.h>
36 namespace s = fst::script;
37 using fst::script::FstClass;
38 using fst::script::VectorFstClass;
42 usage += " [in.fst [out.fst]]\n";
76 fst::RandGenOptions<s::RandArcSelection>(
/external/openfst/src/extensions/far/
H A Dfarprintstrings.cc22 #include <fst/extensions/far/farscript.h>
45 namespace s = fst::script;
59 string arc_type = fst::LoadArcTypeFromFar(ifilenames[0]);
62 fst::StringToFarEntryType(FLAGS_entry_type),
63 fst::StringToFarTokenType(FLAGS_token_type),
/external/openfst/src/include/fst/extensions/pdt/
H A Dreverse.h30 #include <fst/mutable-fst.h>
31 #include <fst/relabel.h>
32 #include <fst/reverse.h>
34 namespace fst { namespace
56 } // namespace fst

Completed in 177 milliseconds

1234567891011>>