FST  openfst-1.7.3
OpenFst Library
rho-fst.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 
5 
6 #include <fst/fst.h>
7 
8 DEFINE_int64(rho_fst_rho_label, 0,
9  "Label of transitions to be interpreted as rho ('rest') "
10  "transitions");
11 DEFINE_string(rho_fst_rewrite_mode, "auto",
12  "Rewrite both sides when matching? One of:"
13  " \"auto\" (rewrite iff acceptor), \"always\", \"never\"");
14 
15 namespace fst {
16 
17 const char rho_fst_type[] = "rho";
18 const char input_rho_fst_type[] = "input_rho";
19 const char output_rho_fst_type[] = "output_rho";
20 
21 static FstRegisterer<StdRhoFst> RhoFst_StdArc_registerer;
22 static FstRegisterer<LogRhoFst> RhoFst_LogArc_registerer;
23 static FstRegisterer<Log64RhoFst> RhoFst_Log64Arc_registerer;
24 
25 static FstRegisterer<StdInputRhoFst> InputRhoFst_StdArc_registerer;
26 static FstRegisterer<LogInputRhoFst> InputRhoFst_LogArc_registerer;
27 static FstRegisterer<Log64InputRhoFst> InputRhoFst_Log64Arc_registerer;
28 
29 static FstRegisterer<StdOutputRhoFst> OutputRhoFst_StdArc_registerer;
30 static FstRegisterer<LogOutputRhoFst> OutputRhoFst_LogArc_registerer;
31 static FstRegisterer<Log64OutputRhoFst> OutputRhoFst_Log64Arc_registerer;
32 
33 } // namespace fst
const char rho_fst_type[]
Definition: rho-fst.cc:17
DEFINE_string(rho_fst_rewrite_mode,"auto","Rewrite both sides when matching? One of:"" \"auto\" (rewrite iff acceptor), \"always\", \"never\"")
const char output_rho_fst_type[]
Definition: rho-fst.cc:19
DEFINE_int64(rho_fst_rho_label, 0,"Label of transitions to be interpreted as rho ('rest') ""transitions")
const char input_rho_fst_type[]
Definition: rho-fst.cc:18