/external/openfst/src/include/fst/ |
concat.h | 28 #include <fst/mutable-fst.h> 29 #include <fst/rational.h> 32 namespace fst { namespace 44 // where Vi = # of states and Ei = # of arcs of the ith FST. 47 void Concat(MutableFst<Arc> *fst1, const Fst<Arc> &fst2) { 75 for (StateIterator< Fst<Arc> > siter2(fst2); 82 for (ArcIterator< Fst<Arc> > aiter(fst2, s2); 110 // where Vi = # of states and Ei = # of arcs of the ith FST. 113 void Concat(const Fst<Arc> &fst1, MutableFst<Arc> *fst2) [all...] |
difference.h | 28 #include <fst/cache.h> 29 #include <fst/compose.h> 30 #include <fst/complement.h> 33 namespace fst { namespace 36 class M = Matcher<Fst<A> >, 49 // Fst. Only strings that are in the first automaton but not in second 72 DifferenceFst(const Fst<A> &fst1, const Fst<A> &fst2, 74 typedef RhoMatcher< Matcher<Fst<A> > > R; 90 DifferenceFst(const Fst<A> &fst1, const Fst<A> &fst2 [all...] |
arc-map.h | 33 #include <fst/cache.h> 34 #include <fst/mutable-fst.h> 37 namespace fst { namespace 53 // not the empty Fst). 62 // Symbols should be copied from the input FST by the map. 89 // // This specifies the known properties of an Fst mapped by this 90 // // mapper. It takes as argument the input Fst's known properties. 97 // method to set the result Fst properties. 101 // new result Fst, or is an on-the-fly Fst. Another dimension is ho [all...] |
factor-weight.h | 19 // Classes to factor weights in an FST. 34 #include <fst/cache.h> 35 #include <fst/test-properties.h> 38 namespace fst { namespace 183 FactorWeightFstImpl(const Fst<A> &fst, const FactorWeightOptions<A> &opts) 185 fst_(fst.Copy()), 191 uint64 props = fst.Properties(kFstProperties, false); 194 SetInputSymbols(fst.InputSymbols()); 195 SetOutputSymbols(fst.OutputSymbols()) [all...] |
log.h | 27 #include <fst/types.h> 28 #include <fst/flags.h>
|
random-weight.h | 31 #include <fst/float-weight.h> 32 #include <fst/product-weight.h> 33 #include <fst/string-weight.h> 34 #include <fst/lexicographic-weight.h> 35 #include <fst/power-weight.h> 36 #include <fst/signed-log-weight.h> 37 #include <fst/sparse-power-weight.h> 40 namespace fst { namespace 346 } // namespace fst
|
label-reachable.h | 32 #include <fst/accumulator.h> 33 #include <fst/arcsort.h> 34 #include <fst/interval-set.h> 35 #include <fst/state-reachable.h> 36 #include <fst/vector-fst.h> 39 namespace fst { namespace 117 // SetState(s). Then a label l can be reached from state s of FST f 122 // The whole FST can be relabeled instead with Relabel(&f, 124 // labels of the transformed FST f. The relabeled FST will also b [all...] |
arc.h | 20 // Commonly used Fst arc types. 28 #include <fst/expectation-weight.h> 29 #include <fst/float-weight.h> 30 #include <fst/lexicographic-weight.h> 31 #include <fst/power-weight.h> 32 #include <fst/product-weight.h> 33 #include <fst/signed-log-weight.h> 34 #include <fst/sparse-power-weight.h> 38 #include <fst/string-weight.h> 41 namespace fst { namespace [all...] |
equal.h | 24 #include <fst/fst.h> 27 namespace fst { namespace 31 bool Equal(const Fst<Arc> &fst1, const Fst<Arc> &fst2, float delta = kDelta) { 40 StateIterator< Fst<Arc> > siter1(fst1); 41 StateIterator< Fst<Arc> > siter2(fst2); 65 ArcIterator< Fst<Arc> > aiter1(fst1, s1); 66 ArcIterator< Fst<Arc> > aiter2(fst2, s2); 121 } // namespace fst [all...] |
generic-register.h | 23 #include <fst/compat.h> 24 #include <fst/types.h> 38 namespace fst { namespace 157 } // namespace fst
|
/external/openfst/src/include/fst/extensions/far/ |
far.h | 19 // Finite-State Transducer (FST) archive classes. 25 #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 42 // FST archive header class 65 } else if (IsFst(filename)) { // Check if Fst [all...] |
create.h | 33 #include <fst/extensions/far/far.h> 35 namespace fst { namespace 62 Fst<Arc> *ifst = Fst<Arc>::Read(inputs[i]); 85 } // 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/ |
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...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
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...] |
replace.h | 25 #include "fst/lib/fst.h" 26 #include "fst/lib/cache.h" 27 #include "fst/lib/test-properties.h" 29 namespace fst { namespace 33 // create an epsilon arc when recursing into the appropriate Fst. 51 // \brief Implementation class for replace class Fst 54 // expansion of a recursive transition network represented as Fst 90 StateId fst_id; // current fst being walked 91 StateId fst_state; // current state in fst being walked, not to b 223 const Fst<A>* fst = fst_array_[root_]; local 243 const Fst<A>* fst = fst_array_[tuple.fst_id]; local 297 const Fst<A>* fst = fst_array_[tuple.fst_id]; local [all...] |
Android.mk | 7 fst.cpp \
|
connect.h | 17 // Classes and functions to remove unsuccessful paths from an Fst. 22 #include "fst/lib/mutable-fst.h" 24 namespace fst { namespace 50 void InitVisit(const Fst<A> &fst) { 64 fst_ = &fst; 65 start_ = fst.Start(); 182 const Fst<A> *fst_; 194 // Trims an FST, removing states and arcs that are not on successfu [all...] |
vector-fst.h | 1 // vector-fst.h 17 // Simple concrete, mutable FST whose states and arcs are stored in STL 26 #include "fst/lib/mutable-fst.h" 27 #include "fst/lib/test-properties.h" 29 namespace fst { namespace 34 // State definition. This does not manage the Fst properties. 174 // manages Fst properties and the # of input and output epsilons. 196 explicit VectorFstImpl(const Fst<A> &fst); [all...] |
/external/openfst/src/extensions/far/ |
main.cc | 30 #include <fst/extensions/far/main.h> 32 namespace fst { namespace 37 if (str == "fst") 53 return "fst"; 100 FSTERROR() << "Empty FST archive: " << far_fname; 111 FSTERROR() << "Error reading FST: " << fst_fname; 118 } // namespace fst
|
farscript.cc | 20 #include <fst/extensions/far/farscript.h> 21 #include <fst/script/script-impl.h> 22 #include <fst/extensions/far/far.h> 24 namespace fst { namespace 131 } // namespace fst
|
/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...] |
/external/srec/srec/include/ |
srec_context.h | 66 * FST * 79 * the fst, so that we don't need to recalculate it each time. 188 /* FST type functions */ 189 int FST_AttachArbdata(srec_context* fst, srec_arbdata* allophone_tree); 190 int FST_DumpGraph(srec_context* fst, PFile* fp); 194 int FST_AddWordToGrammar(srec_context* fst, 198 int FST_ResetGrammar(srec_context* fst); 200 int FST_PrepareContext(srec_context* fst);
|
/external/openfst/src/include/fst/extensions/ngram/ |
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); 250 // Properties always true for this Fst class. 279 NGramFstImpl<A>::NGramFstImpl(const Fst<A> &fst, vector<StateId>* order_out [all...] |
nthbit.h | 21 #include <fst/types.h>
|