FST  openfst-1.7.2
OpenFst Library
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
4 #include <fst/flags.h>
6 DEFINE_string(isymbols, "", "Input label symbol table");
7 DEFINE_string(osymbols, "", "Output label symbol table");
8 DEFINE_bool(clear_isymbols, false, "Clear input symbol table");
9 DEFINE_bool(clear_osymbols, false, "Clear output symbol table");
10 DEFINE_string(relabel_ipairs, "", "Input relabel pairs (numeric)");
11 DEFINE_string(relabel_opairs, "", "Output relabel pairs (numeric)");
12 DEFINE_string(save_isymbols, "", "Save fst file's input symbol table to file");
13 DEFINE_string(save_osymbols, "", "Save fst file's output symbol table to file");
14 DEFINE_bool(allow_negative_labels, false,
15  "Allow negative labels (not recommended; may cause conflicts)");
16 DEFINE_bool(verify, false, "Verify fst properities before saving");
18 int fstsymbols_main(int argc, char **argv);
20 int main(int argc, char **argv) { return fstsymbols_main(argc, argv); }
int main(int argc, char **argv)
Definition: fstsymbols.cc:20
int fstsymbols_main(int argc, char **argv)
DEFINE_string(isymbols,"","Input label symbol table")
DEFINE_bool(clear_isymbols, false,"Clear input symbol table")