FST  openfst-1.6.1
OpenFst Library
invert.h
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 #ifndef FST_SCRIPT_INVERT_H_
5 #define FST_SCRIPT_INVERT_H_
6 
7 #include <fst/invert.h>
8 #include <fst/script/arg-packs.h>
9 #include <fst/script/fst-class.h>
10 
11 namespace fst {
12 namespace script {
13 
14 template <class Arc>
16  MutableFst<Arc> *typed_fst = fst->GetMutableFst<Arc>();
17  Invert(typed_fst);
18 }
19 
21 
22 } // namespace script
23 } // namespace fst
24 
25 #endif // FST_SCRIPT_INVERT_H_
MutableFst< Arc > * GetMutableFst()
Definition: fst-class.h:493
void Invert(MutableFstClass *fst)
Definition: invert.h:15