FST  openfst-1.7.2
OpenFst Library
connect.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>
5 #include <fst/script/connect.h>
7 
8 namespace fst {
9 namespace script {
10 
11 void Connect(MutableFstClass *fst) {
12  Apply<Operation<MutableFstClass>>("Connect", fst->ArcType(), fst);
13 }
14 
15 REGISTER_FST_OPERATION(Connect, StdArc, MutableFstClass);
16 REGISTER_FST_OPERATION(Connect, LogArc, MutableFstClass);
17 REGISTER_FST_OPERATION(Connect, Log64Arc, MutableFstClass);
18 
19 } // namespace script
20 } // namespace fst
ArcTpl< TropicalWeight > StdArc
Definition: arc.h:55
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)
ArcTpl< Log64Weight > Log64Arc
Definition: arc.h:57
void Connect(MutableFstClass *fst)
Definition: connect.h:14
ArcTpl< LogWeight > LogArc
Definition: arc.h:56