FST  openfst-1.6.1
OpenFst Library
verify.cc
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3 
4 #include <fst/script/fst-class.h>
6 #include <fst/script/verify.h>
7 
8 namespace fst {
9 namespace script {
10 
11 bool Verify(const FstClass &fst) {
12  VerifyArgs args(fst);
13  Apply<Operation<VerifyArgs>>("Verify", fst.ArcType(), &args);
14  return args.retval;
15 }
16 
20 
21 } // namespace script
22 } // namespace fst
const string & ArcType() const override
Definition: fst-class.h:289
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)
void Verify(VerifyArgs *args)
Definition: verify.h:17