FST  openfst-1.7.2
OpenFst Library
fstprint.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/flags.h>
5 
6 DEFINE_bool(acceptor, false, "Input in acceptor format?");
7 DEFINE_string(isymbols, "", "Input label symbol table");
8 DEFINE_string(osymbols, "", "Output label symbol table");
9 DEFINE_string(ssymbols, "", "State label symbol table");
10 DEFINE_bool(numeric, false, "Print numeric labels?");
11 DEFINE_string(save_isymbols, "", "Save input symbol table to file");
12 DEFINE_string(save_osymbols, "", "Save output symbol table to file");
13 DEFINE_bool(show_weight_one, false,
14  "Print/draw arc weights and final weights equal to semiring One?");
15 DEFINE_bool(allow_negative_labels, false,
16  "Allow negative labels (not recommended; may cause conflicts)?");
17 DEFINE_string(missing_symbol, "",
18  "Symbol to print when lookup fails (default raises error)");
19 
20 int fstprint_main(int argc, char **argv);
21 
22 int main(int argc, char **argv) { return fstprint_main(argc, argv); }
int fstprint_main(int argc, char **argv)
DEFINE_string(isymbols,"","Input label symbol table")
DEFINE_bool(acceptor, false,"Input in acceptor format?")
int main(int argc, char **argv)
Definition: fstprint.cc:22