Searched defs:fst (Results 251 - 275 of 315) sorted by relevance

<<111213

/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dshortest-path.h25 #include "fst/lib/cache.h"
26 #include "fst/lib/queue.h"
27 #include "fst/lib/shortest-distance.h"
28 #include "fst/lib/test-properties.h"
30 namespace fst { namespace
255 // Algorithm works on the reverse of 'fst' : 'rfst' 'distance' is
274 // 'r[s]', 's' state in 'fst', is the number of states in 'ofst'
361 } // namespace fst
H A Dsymbol-table.h28 #include "fst/lib/compat.h"
34 namespace fst { namespace
384 } // namespace fst
H A Dcache.h25 #include "fst/lib/vector-fst.h"
30 namespace fst { namespace
395 explicit CacheStateIterator(const F &fst) : fst_(fst), s_(0) {} argument
435 CacheArcIterator(const F &fst, StateId s) : i_(0) { argument
436 state_ = fst.impl_->ExtendState(s);
459 } // namespace fst
H A Dconst-fst.h1 // const-fst.h
23 #include "fst/lib/expanded-fst.h"
24 #include "fst/lib/test-properties.h"
26 namespace fst { namespace
49 explicit ConstFstImpl(const Fst<A> &fst);
118 ConstFstImpl<A>::ConstFstImpl(const Fst<A> &fst) : nstates_(0), narcs_(0) { argument
120 uint64 copy_properties = fst.Properties(kCopyProperties, true);
122 this->SetInputSymbols(fst.InputSymbols());
123 this->SetOutputSymbols(fst
235 ConstFst(const ConstFst<A> &fst) argument
239 ConstFst(const Fst<A> &fst) argument
344 StateIterator(const ConstFst<A> &fst) argument
370 ArcIterator(const ConstFst<A> &fst, StateId s) argument
[all...]
H A Dencode.h17 // Class to encode and decoder an fst.
22 #include "fst/lib/map.h"
23 #include "fst/lib/rmfinalepsilon.h"
25 namespace fst { namespace
321 void Encode(MutableFst<A> *fst, EncodeMapper<A>* mapper) { argument
322 Map(fst, mapper);
327 void Decode(MutableFst<A>* fst, const EncodeMapper<A>& mapper) { argument
328 Map(fst, EncodeMapper<A>(mapper, DECODE));
329 RmFinalEpsilon(fst);
345 EncodeFst(const Fst<A> &fst, EncodeMappe argument
348 EncodeFst(const Fst<A> &fst, const EncodeMapper<A>& encoder) argument
351 EncodeFst(const EncodeFst<A> &fst) argument
370 DecodeFst(const Fst<A> &fst, const EncodeMapper<A>& encoder) argument
375 DecodeFst(const EncodeFst<A> &fst) argument
387 StateIterator(const EncodeFst<A> &fst) argument
397 ArcIterator(const EncodeFst<A> &fst, typename A::StateId s) argument
407 StateIterator(const DecodeFst<A> &fst) argument
417 ArcIterator(const DecodeFst<A> &fst, typename A::StateId s) argument
[all...]
H A Dfactor-weight.h28 #include "fst/lib/cache.h"
29 #include "fst/lib/test-properties.h"
31 namespace fst { namespace
160 FactorWeightFstImpl(const Fst<A> &fst, const FactorWeightOptions &opts) argument
161 : CacheImpl<A>(opts), fst_(fst.Copy()), delta_(opts.delta),
164 uint64 props = fst.Properties(kFstProperties, false);
167 SetInputSymbols(fst.InputSymbols());
168 SetOutputSymbols(fst.OutputSymbols());
347 FactorWeightFst(const Fst<A> &fst) argument
348 : impl_(new FactorWeightFstImpl<A, F>(fst, FactorWeightOption
350 FactorWeightFst(const Fst<A> &fst, const FactorWeightOptions &opts) argument
352 FactorWeightFst(const FactorWeightFst<A, F> &fst) argument
416 StateIterator(const FactorWeightFst<A, F> &fst) argument
428 ArcIterator(const FactorWeightFst<A, F> &fst, StateId s) argument
[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/svox/pico/lib/
H A Dpicokfst.c249 kfst_SubObj fst = (kfst_SubObj) this; local
250 if (fst != NULL) {
251 return fst->transductionMode;
261 kfst_SubObj fst = (kfst_SubObj) this; local
262 if (fst != NULL) {
263 *nrStates = fst->nrStates;
264 *nrClasses = fst->nrClasses;
282 kfst_SubObj fst = (kfst_SubObj) this; local
285 h = inSym % fst->alphaHashTabSize;
286 pos = fst
316 kfst_SubObj fst = (kfst_SubObj) this; local
350 kfst_SubObj fst = (kfst_SubObj) this; local
370 kfst_SubObj fst = (kfst_SubObj) this; local
393 kfst_SubObj fst = (kfst_SubObj) this; local
424 kfst_SubObj fst = (kfst_SubObj) this; local
[all...]
/external/openfst/src/include/fst/
H A Dbi-table.h35 namespace fst { namespace
530 } // namespace fst
H A Dconst-fst.h1 // const-fst.h
29 #include <fst/expanded-fst.h>
30 #include <fst/fst-decl.h> // For optional argument declarations
31 #include <fst/mapped-file.h>
32 #include <fst/test-properties.h>
33 #include <fst/util.h>
36 namespace fst { namespace
71 explicit ConstFstImpl(const Fst<A> &fst);
153 ConstFstImpl(const Fst<A> &fst) argument
271 ConstFst(const Fst<A> &fst) argument
274 ConstFst(const ConstFst<A, U> &fst) argument
331 GetImplIfConstFst(const NonConstFst& fst) argument
343 WriteFst(const F &fst, ostream &strm, const FstWriteOptions &opts) argument
435 StateIterator(const ConstFst<A, U> &fst) argument
462 ArcIterator(const ConstFst<A, U> &fst, StateId s) argument
[all...]
H A Dfactor-weight.h34 #include <fst/cache.h>
35 #include <fst/test-properties.h>
38 namespace fst { namespace
183 FactorWeightFstImpl(const Fst<A> &fst, const FactorWeightOptions<A> &opts) argument
185 fst_(fst.Copy()),
191 uint64 props = fst.Properties(kFstProperties, false);
194 SetInputSymbols(fst.InputSymbols());
195 SetOutputSymbols(fst.OutputSymbols());
410 FactorWeightFst(const Fst<A> &fst) argument
411 : ImplToFst<Impl>(new Impl(fst, FactorWeightOption
413 FactorWeightFst(const Fst<A> &fst, const FactorWeightOptions<A> &opts) argument
417 FactorWeightFst(const FactorWeightFst<A, F> &fst, bool copy) argument
444 StateIterator(const FactorWeightFst<A, F> &fst) argument
456 ArcIterator(const FactorWeightFst<A, F> &fst, StateId s) argument
[all...]
H A Dfloat-weight.h30 #include <fst/util.h>
31 #include <fst/weight.h>
34 namespace fst { namespace
599 } // namespace fst
H A Dmatcher-fst.h1 // matcher-fst.h
24 #include <fst/add-on.h>
25 #include <fst/const-fst.h>
26 #include <fst/lookahead-matcher.h>
29 namespace fst { namespace
42 // Matcher(const F &fst, MatchType type, MatcherData *data);
96 explicit MatcherFst(const F &fst) argument
97 : ImplToExpandedFst<Impl>(CreateImpl(fst, N)) {}
99 explicit MatcherFst(const Fst<Arc> &fst) argument
103 MatcherFst(const MatcherFst<F, M, N, I> &fst, bool safe = false) argument
158 CreateImpl(const F &fst, const string &name) argument
169 CreateImpl(const Fst<Arc> &fst, const string &name) argument
189 StateIterator(const MatcherFst<F, M, N, I> &fst) argument
198 ArcIterator(const MatcherFst<F, M, N, I> &fst, typename F::Arc::StateId s) argument
212 Matcher(const FST &fst, MatchType match_type) argument
252 LookAheadMatcher(const FST &fst, MatchType match_type) argument
282 LookAheadFst(const Fst<Arc> &fst, StateId s) argument
292 InitLookAheadFst(const Fst<Arc>& fst, bool copy = false) argument
[all...]
H A Dmutable-fst.h1 // mutable-fst.h
32 #include <fst/expanded-fst.h>
35 namespace fst { namespace
47 virtual MutableFst<A> &operator=(const Fst<A> &fst) = 0;
49 MutableFst<A> &operator=(const MutableFst<A> &fst) { argument
50 return operator=(static_cast<const Fst<A> &>(fst));
111 Fst<A> *fst = reader(strm, ropts); local
112 if (!fst) return 0;
113 return static_cast<MutableFst<A> *>(fst);
193 MutableArcIterator(F *fst, StateId s) argument
220 Final(const MutableFst<A> &fst, typename A::StateId s) argument
225 NumArcs(const MutableFst<A> &fst, typename A::StateId s) argument
230 NumInputEpsilons(const MutableFst<A> &fst, typename A::StateId s) argument
235 NumOutputEpsilons(const MutableFst<A> &fst, typename A::StateId s) argument
352 ImplToMutableFst(const ImplToMutableFst<I, F> &fst) argument
355 ImplToMutableFst(const ImplToMutableFst<I, F> &fst, bool safe) argument
368 operator =(const Fst<Arc> &fst) argument
[all...]
H A Dproperties.h27 #include <fst/compat.h>
29 namespace fst { namespace
322 // mutating fst operations.
404 /// \param inprops the current properties of the fst
458 } // 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...]
H A Dreplace-util.h36 #include <fst/connect.h>
37 #include <fst/mutable-fst.h>
38 #include <fst/topsort.h>
41 namespace fst { namespace
84 // dependencies will result in an unexpandable replace fst.
171 bool GetTopOrder(const Fst<Arc> &fst, vector<Label> *toporder) const;
204 MutableFst<Arc> *fst = fst_pairs[i].second; local
207 fst_array_.push_back(fst);
208 mutable_fst_array_.push_back(fst);
227 const Fst<Arc> *fst = fst_pairs[i].second; local
392 MutableFst<Arc> *fst = mutable_fst_array_[i]; local
403 GetTopOrder(const Fst<Arc> &fst, vector<Label> *toporder) const argument
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...]
H A Dsparse-tuple-weight.h40 #include <fst/weight.h>
46 namespace fst { namespace
638 } // 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 Dstring-weight.h27 #include <fst/product-weight.h>
28 #include <fst/weight.h>
30 namespace fst { namespace
558 } // namespace fst
H A Dsynchronize.h37 #include <fst/cache.h>
38 #include <fst/test-properties.h>
41 namespace fst { namespace
85 SynchronizeFstImpl(const Fst<A> &fst, const SynchronizeFstOptions &opts) argument
86 : CacheImpl<A>(opts), fst_(fst.Copy()) {
88 uint64 props = fst.Properties(kFstProperties, false);
91 SetInputSymbols(fst.InputSymbols());
92 SetOutputSymbols(fst.OutputSymbols());
365 SynchronizeFst(const Fst<A> &fst) argument
366 : ImplToFst<Impl>(new Impl(fst, SynchronizeFstOption
368 SynchronizeFst(const Fst<A> &fst, const SynchronizeFstOptions &opts) argument
372 SynchronizeFst(const SynchronizeFst<A> &fst, bool safe = false) argument
399 StateIterator(const SynchronizeFst<A> &fst) argument
411 ArcIterator(const SynchronizeFst<A> &fst, StateId s) argument
[all...]
/external/openfst/src/include/fst/extensions/far/
H A Dfar.h25 #include <fst/extensions/far/stlist.h>
26 #include <fst/extensions/far/sttable.h>
27 #include <fst/fst.h>
28 #include <fst/vector-fst.h>
30 namespace fst { namespace
68 fartype_ = "fst";
98 virtual void Add(const string &key, const Fst<A> &fst) = 0;
165 void operator()(ostream &strm, const Fst<A> &fst) cons
182 Add(const string &key, const Fst<A> &fst) argument
212 Add(const string &key, const Fst<A> &fst) argument
243 Add(const string &key, const Fst<A> &fst) argument
[all...]
/external/openfst/src/include/fst/script/
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/srec/Grammar/src/
H A DSR_GrammarImpl.c690 srec_context* fst = ca_syntax->synx; local
697 wdids[nw] = wordmap_find_index(fst->olabels, word);
702 for (i = 0; i < fst->num_arcs; i++)
704 wordID wdid = fst->FSMarc_list[i].olabel;
706 else if (wdid == fst->beg_silence_word) ;
707 else if (wdid == fst->end_silence_word) ;
714 fst->FSMarc_list[i].cost |= DISABLEcostdata; /* disable this arc */
720 fst->FSMarc_list[i].cost &= ~(DISABLEcostdata); /* enable this arc */
732 for (i = 0; i < fst->num_arcs; i++)
734 if (fst
762 srec_context* fst = ca_syntax->synx; local
[all...]
/external/srec/tools/test_g2g/
H A Dtest_g2g.c191 srec_context* fst; local
222 fst = syntax->synx;
225 fst->num_arcs, fst->num_base_arcs, fst->FSMarc_list_len,
226 fst->num_nodes, fst->num_base_nodes, fst->FSMnode_list_len,
227 fst->olabels->num_words, fst
[all...]

Completed in 260 milliseconds

<<111213