FST  openfst-1.7.3
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/verify.h>
5 
6 #include <fst/script/fst-class.h>
8 
9 namespace fst {
10 namespace script {
11 
12 bool Verify(const FstClass &fst) {
13  VerifyArgs args(fst);
14  Apply<Operation<VerifyArgs>>("Verify", fst.ArcType(), &args);
15  return args.retval;
16 }
17 
21 
22 } // namespace script
23 } // namespace fst
const std::string & ArcType() const final
Definition: fst-class.h:298
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)
void Verify(VerifyArgs *args)
Definition: verify.h:17