Home | History | Annotate | Download | only in lib

Lines Matching defs:MutableFst

33 class MutableFst : public ExpandedFst<A> {
39 virtual MutableFst<A> &operator=(const Fst<A> &fst) = 0;
68 // Get a copy of this MutableFst.
69 virtual MutableFst<A> *Copy() const = 0;
70 // Read an MutableFst from an input stream; return NULL on error.
71 static MutableFst<A> *Read(istream &strm, const FstReadOptions &opts) {
82 LOG(ERROR) << "MutableFst::Read: Not an MutableFst: " << ropts.source;
89 LOG(ERROR) << "MutableFst::Read: Unknown FST type \"" << hdr.FstType()
96 return down_cast<MutableFst<A> *>(fst);
98 // Read an MutableFst from a file; returns NULL on error.
99 static MutableFst<A> *Read(const string &filename) {
102 LOG(ERROR) << "MutableFst::Read: Can't open file: " << filename;
163 typedef MutableFst<StdArc> StdMutableFst;