Home | History | Annotate | Download | only in lib

Lines Matching refs:ExpandedFst

28 class ExpandedFst : public Fst<A> {
35 // Get a copy of this ExpandedFst.
36 virtual ExpandedFst<A> *Copy() const = 0;
37 // Read an ExpandedFst from an input stream; return NULL on error.
38 static ExpandedFst<A> *Read(istream &strm, const FstReadOptions &opts) {
49 LOG(ERROR) << "ExpandedFst::Read: Not an ExpandedFst: " << ropts.source;
56 LOG(ERROR) << "ExpandedFst::Read: Unknown FST type \"" << hdr.FstType()
63 return down_cast<ExpandedFst<A> *>(fst);
65 // Read an ExpandedFst from a file; return NULL on error.
66 static ExpandedFst<A> *Read(const string &filename) {
69 LOG(ERROR) << "ExpandedFst::Read: Can't open file: " << filename;
77 typedef ExpandedFst<StdArc> StdExpandedFst;
84 const ExpandedFst<Arc> *efst = down_cast<const ExpandedFst<Arc> *>(&fst);