/external/openfst/src/include/fst/ |
H A D | compact-fst.h | 1 // compact-fst.h 32 #include <fst/cache.h> 33 #include <fst/expanded-fst.h> 34 #include <fst/fst-decl.h> // For optional argument declarations 35 #include <fst/mapped-file.h> 36 #include <fst/matcher.h> 37 #include <fst/test-properties.h> 38 #include <fst/uti 41 namespace fst { namespace 202 CompactFstData(const Fst<A> &fst, const C &compactor) argument 482 CompactFstImpl(const Fst<Arc> &fst, const C &compactor, const CompactFstOptions &opts) argument 491 CompactFstImpl(const Fst<Arc> &fst, C *compactor, const CompactFstOptions &opts) argument 726 Init(const Fst<Arc> &fst) argument 809 CompactFst(const Fst<A> &fst, const C &compactor = C(), const CompactFstOptions &opts = CompactFstOptions()) argument 813 CompactFst(const Fst<A> &fst, C *compactor, const CompactFstOptions &opts = CompactFstOptions()) argument 848 CompactFst(const CompactFst<A, C, U> &fst, bool safe = false) argument 915 GetImplIfCompactFst(const NonCompactFst& fst) argument 927 WriteFst(const F &fst, const C &compactor, ostream &strm, const FstWriteOptions &opts) argument 1036 StateIterator(const CompactFst<A, C, U> &fst) argument 1062 ArcIterator(const CompactFst<A, C, U> &fst, StateId s) argument [all...] |
H A D | compose.h | 29 #include <fst/cache.h> 30 #include <fst/compose-filter.h> 31 #include <fst/lookahead-filter.h> 32 #include <fst/matcher.h> 33 #include <fst/state-table.h> 34 #include <fst/test-properties.h> 37 namespace fst { namespace 539 ComposeFst(const ComposeFst<A> &fst, bool safe = false) { argument 541 SetImpl(fst.GetImpl()->Copy()); 543 SetImpl(fst 628 StateIterator(const ComposeFst<A> &fst) argument 640 ArcIterator(const ComposeFst<A> &fst, StateId s) argument [all...] |
H A D | determinize.h | 31 #include <fst/slist.h> 36 #include <fst/arc-map.h> 37 #include <fst/cache.h> 38 #include <fst/bi-table.h> 39 #include <fst/factor-weight.h> 40 #include <fst/prune.h> 41 #include <fst/test-properties.h> 44 namespace fst { namespace 374 DeterminizeFstImplBase(const Fst<A> &fst, argument 376 : CacheImpl<A>(opts), fst_(fst 472 DeterminizeFsaImpl(const Fst<A> &fst, const vector<Weight> *in_dist, vector<Weight> *out_dist, const DeterminizeFstOptions<A, D, F, T> &opts) argument 713 DeterminizeFstImpl(const Fst<A> &fst, const DeterminizeFstOptions<A, D, F, T> &opts) argument 808 DeterminizeFst(const Fst<A> &fst) argument 824 DeterminizeFst(const Fst<A> &fst, const DeterminizeFstOptions<A, D, F, T> &opts) argument 840 DeterminizeFst(const Fst<A> &fst, const vector<Weight> *in_dist, vector<Weight> *out_dist, const DeterminizeFstOptions<A, D, F, T> &opts) argument 852 DeterminizeFst(const DeterminizeFst<A> &fst, bool safe = false) argument 881 Init(const Fst<A> &fst) argument 908 StateIterator(const DeterminizeFst<A> &fst) argument 920 ArcIterator(const DeterminizeFst<A> &fst, StateId s) argument [all...] |
H A D | randgen.h | 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 54 size_t operator()(const Fst<A> &fst, StateId s) const { argument 56 size_t n = fst.NumArcs(s); 57 if (fst.Final(s) != Weight::Zero()) 77 size_t operator()(const Fst<A> &fst, StateI argument 121 operator ()(const Fst<A> &fst, StateId s, CacheLogAccumulator<A> *accumulator) const argument 169 ArcSampler(const Fst<A> &fst, const S &arc_selector, int max_length = INT_MAX) argument 244 ArcSampler(const Fst<A> &fst, const S &arc_selector, int max_length = INT_MAX) argument 348 RandGenFstImpl(const Fst<A> &fst, const RandGenFstOptions<S> &opts) argument 521 RandGenFst(const Fst<A> &fst, const RandGenFstOptions<S> &opts) argument 525 RandGenFst(const RandGenFst<A, B, S> &fst, bool safe = false) argument 553 StateIterator(const RandGenFst<A, B, S> &fst) argument 568 ArcIterator(const RandGenFst<A, B, S> &fst, StateId s) argument [all...] |
H A D | fst.h | 0 // fst.h 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> 40 #include <fst/symbol-table.h> 41 #include <fst/util.h> 46 namespace fst { namespace 334 // for (StateIterator<StdFst> siter(fst); 347 StateIterator(const F &fst) argument 457 ArcIterator(const F &fst, StateId s) argument 542 Final(const F &fst, typename F::Arc::StateId s) argument 547 NumArcs(const F &fst, typename F::Arc::StateId s) argument 552 NumInputEpsilons(const F &fst, typename F::Arc::StateId s) argument 557 NumOutputEpsilons(const F &fst, typename F::Arc::StateId s) argument 564 Final(const Fst<A> &fst, typename A::StateId s) argument 569 NumArcs(const Fst<A> &fst, typename A::StateId s) argument 574 NumInputEpsilons(const Fst<A> &fst, typename A::StateId s) argument 579 NumOutputEpsilons(const Fst<A> &fst, typename A::StateId s) argument 713 WriteFstHeader(const Fst<A> &fst, ostream &strm, const FstWriteOptions& opts, int version, const string &type, uint64 properties, FstHeader *hdr) argument 745 UpdateFstHeader(const Fst<A> &fst, ostream &strm, const FstWriteOptions& opts, int version, const string &type, uint64 properties, FstHeader *hdr, size_t header_offset) argument 882 ImplToFst(const ImplToFst<I, F> &fst) argument 889 ImplToFst(const ImplToFst<I, F> &fst, bool safe) argument 915 operator =(const Fst<Arc> &fst) argument 935 FstToString(const Fst<A> &fst, string *result) argument [all...] |
H A D | 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 979 ReplaceFst(const ReplaceFst<A, T>& fst, bool safe = false) argument 1022 StateIterator(const ReplaceFst<A, T> &fst) argument 1056 ArcIterator(const ReplaceFst<A, T> &fst, StateId s) argument 1083 const Fst<A>* fst = fst_.GetImpl()->GetFst(tuple_.fst_id); local 1241 ReplaceFstMatcher(const ReplaceFst<A, T> &fst, fst::MatchType match_type) argument [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
H A D | expand.h | 27 #include <fst/extensions/pdt/pdt.h> 28 #include <fst/extensions/pdt/paren.h> 29 #include <fst/extensions/pdt/shortest-path.h> 30 #include <fst/extensions/pdt/reverse.h> 31 #include <fst/cache.h> 32 #include <fst/mutable-fst.h> 33 #include <fst/queue.h> 34 #include <fst/state-table.h> 35 #include <fst/tes 37 namespace fst { namespace 85 ExpandFstImpl(const Fst<A> &fst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, const ExpandFstOptions<A> &opts) argument 238 ExpandFst(const Fst<A> &fst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens) argument 243 ExpandFst(const Fst<A> &fst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, const ExpandFstOptions<A> &opts) argument 250 ExpandFst(const ExpandFst<A> &fst, bool safe = false) argument 285 StateIterator(const ExpandFst<A> &fst) argument 297 ArcIterator(const ExpandFst<A> &fst, StateId s) argument [all...] |
H A D | shortest-path.h | 24 #include <fst/shortest-path.h> 25 #include <fst/extensions/pdt/paren.h> 26 #include <fst/extensions/pdt/pdt.h> 38 namespace fst { namespace 796 } // namespace fst
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | compose.h | 26 #include "fst/lib/cache.h" 27 #include "fst/lib/test-properties.h" 29 namespace fst { namespace 186 // IDs of the fst resulting from composition. The mapping must 698 ComposeFst(const ComposeFst<A> &fst) : Fst<A>(fst), impl_(fst.impl_) { argument 818 void operator=(const ComposeFst<A> &fst); // disallow 827 explicit StateIterator(const ComposeFst<A> &fst) argument 828 : CacheStateIterator< ComposeFst<A> >(fst) {} 839 ArcIterator(const ComposeFst<A> &fst, StateId s) argument [all...] |
H A D | determinize.h | 29 #include "fst/lib/cache.h" 30 #include "fst/lib/factor-weight.h" 31 #include "fst/lib/map.h" 32 #include "fst/lib/test-properties.h" 34 namespace fst { namespace 133 DeterminizeFstImplBase(const Fst<A> &fst, const CacheOptions &opts) argument 134 : CacheImpl<A>(opts), fst_(fst.Copy()) { 136 uint64 props = fst.Properties(kFstProperties, false); 139 SetInputSymbols(fst.InputSymbols()); 140 SetOutputSymbols(fst 222 DeterminizeFsaImpl(const Fst<A> &fst, C common_divisor, const DeterminizeFstOptions &opts) argument 545 DeterminizeFst(const Fst<A> &fst, const DeterminizeFstOptions &opts = DeterminizeFstOptions()) argument 557 DeterminizeFst(const DeterminizeFst<A> &fst) argument 614 DeterminizeFst(const Fst<A> &fst, const D &common_divisor, const DeterminizeFstOptions &opts) argument 625 DeterminizeFstImpl( const Fst<A> &fst, const DeterminizeFstOptions &opts) argument 649 StateIterator(const DeterminizeFst<A> &fst) argument 661 ArcIterator(const DeterminizeFst<A> &fst, StateId s) argument [all...] |
H A D | fst.h | 0 // fst.h 23 #include "fst/lib/arc.h" 24 #include "fst/lib/compat.h" 25 #include "fst/lib/properties.h" 26 #include "fst/lib/register.h" 27 #include "fst/lib/symbol-table.h" 28 #include "fst/lib/util.h" 30 namespace fst { namespace 241 // for (StateIterator<StdFst> siter(fst); 253 explicit StateIterator(const F &fst) argument 327 ArcIterator(const F &fst, StateId s) argument [all...] |
/external/svox/pico/lib/ |
H A D | picosa.c | 236 /* fst knowledge bases */ 238 picokfst_FST fst[PICOKNOW_MAX_NUM_WPHO_FSTS]; member in struct:sa_subobj 239 picoos_uint8 curFst; /* the fst to be applied next */ 248 picokfst_FST fst; local 302 /* kb fst[] */ 305 fst = picokfst_getFST(this->voice->kbArray[fstKbIds[i]]); 306 if (NULL != fst) { 307 sa->fst[sa->numFsts++] = fst; 1640 picotrns_transduce(sa->fst[s [all...] |
H A D | picospho.c | 227 /* fst knowledge bases */ 229 picokfst_FST fst[PICOKNOW_MAX_NUM_SPHO_FSTS]; member in struct:spho_subobj 230 picoos_uint8 curFst; /* the fst to be applied next */ 293 picokfst_FST fst; local 311 fst = picokfst_getFST(this->voice->kbArray[myKbIds[i]]); 312 if (NULL != fst) { 313 spho->fst[spho->numFsts++] = fst; 710 * Given the original bound strength 'orig' and the desired target strength 'target' (suggested by fst), 739 * Given the original (predicted and possibly fst [all...] |
/external/openfst/src/include/fst/extensions/ngram/ |
H A D | ngram-fst.h | 27 #include <fst/compat.h> 28 #include <fst/fstlib.h> 29 #include <fst/mapped-file.h> 30 #include <fst/extensions/ngram/bitmap-index.h> 36 namespace fst { namespace 87 NGramFstImpl(const Fst<A> &fst, vector<StateId>* order_out); 279 NGramFstImpl<A>::NGramFstImpl(const Fst<A> &fst, vector<StateId>* order_out) argument 286 SetInputSymbols(fst.InputSymbols()); 287 SetOutputSymbols(fst.OutputSymbols()); 292 if (fst 647 NGramFst(const Fst<A> &fst, vector<StateId>* order_out) argument 652 NGramFst(const NGramFst<A> &fst, bool safe = false) argument 757 NGramFstMatcher(const NGramFst<A> &fst, MatchType match_type) argument 865 ArcIterator(const NGramFst<A> &fst, StateId state) argument 966 StateIterator(const NGramFst<A> &fst) argument [all...] |
/external/srec/srec/crec/ |
H A D | srec_context.c | 105 int sprintf_arc(char* buf, srec_context* fst, FSMarc* arc); 106 int printf_arc1(srec_context* fst, char* msg, FSMarc* arc); 107 int printf_node1(srec_context* fst, FSMnode* node); 109 /* fst_* functions are internal fst functions */ 110 int fst_add_arcs(srec_context* fst, nodeID start_node, nodeID end_node, 113 int fst_push_arc_olabel(srec_context* fst, FSMarc* arc); 114 int fst_push_arc_cost(srec_context* fst, FSMarc* arc); 115 int fst_pull_arc_olabel(srec_context* fst, FSMarc* arc); 116 int fst_free_arc(srec_context* fst, FSMarc* arc); 117 int fst_free_node(srec_context* fst, FSMnod 884 FST_AttachArbdata(srec_context* fst, srec_arbdata* allophone_tree) argument 920 srec_context* fst = pfst; local 1138 FST_DumpGraph(srec_context* fst, PFile* fp) argument 1188 FST_AddWordToGrammar(srec_context* fst, const char* _slot, const char* word, const char* pron, const int cost) argument 1516 remove_added_arcs_leaving(srec_context* fst, nodeID ni) argument 1542 remove_added_arcs_arriving(srec_context* fst, nodeID ni) argument 1570 FST_ResetGrammar(srec_context* fst) argument 1958 fst_get_free_arc(srec_context* fst) argument 1980 fst_get_free_node(srec_context* fst) argument 1998 fst_free_node(srec_context* fst, FSMnode* node) argument 2009 fst_free_arc(srec_context* fst, FSMarc* arc) argument 2024 fst_free_arc_net(srec_context* fst, FSMarc* arc) argument 2034 fst_push_arc_olabel(srec_context* fst, FSMarc* arc) argument 2064 fst_push_arc_cost(srec_context* fst, FSMarc* arc) argument 2081 fst_pull_arc_olabel(srec_context* fst, FSMarc* arc) argument 2135 find_next_arc_with_ilabel(srec_context* fst, FSMnode* node, labelID ilabel, FSMarc** last) argument 2149 find_prev_arc_with_iolabels(srec_context* fst, FSMnode* node, labelID ilabel, labelID olabel, FSMarc** last) argument 2178 num_arcs_leaving(srec_context* fst, FSMnode* node) argument 2191 num_arcs_arriving(srec_context* fst, FSMnode* node) argument 2204 num_arcs_arriving_gt_1(srec_context* fst, FSMnode* node) argument 2214 remove_arc_arriving(srec_context* fst, FSMnode* to_node, FSMarc* arc) argument 2230 split_node_for_arc(srec_context* fst, FSMarc* arc) argument 2277 fst_add_arcs(srec_context* fst, nodeID start_node, nodeID end_node, wordID add_tree_olabel, costdata add_tree_cost, modelID* add_tree_start, int add_tree_len) argument 2658 append_arc_leaving_node(srec_context* fst, FSMnode* fr_node, FSMarc_ptr arc) argument 2669 append_arc_arriving_node(srec_context* fst, FSMnode* to_node, FSMarc_ptr arc) argument 2682 printf_node1(srec_context* fst, FSMnode* node) argument 2686 printf_arc1(srec_context* fst, char* msg, FSMarc* arc) argument 2693 sprintf_arc(char* buf, srec_context* fst, FSMarc* arc) argument 3269 FST_LoadContextFromImageV2(srec_context* fst, PFile* fp) argument [all...] |