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_bool(acceptor, false, "Input in acceptor format");
7 DEFINE_string(arc_type, "standard", "Output arc type");
8 DEFINE_string(fst_type, "vector", "Output FST type");
9 DEFINE_string(isymbols, "", "Input label symbol table");
10 DEFINE_string(osymbols, "", "Output label symbol table");
11 DEFINE_string(ssymbols, "", "State label symbol table");
12 DEFINE_bool(keep_isymbols, false, "Store input label symbol table with FST");
13 DEFINE_bool(keep_osymbols, false, "Store output label symbol table with FST");
14 DEFINE_bool(keep_state_numbering, false, "Do not renumber input states");
15 DEFINE_bool(allow_negative_labels, false,
16  "Allow negative labels (not recommended; may cause conflicts)");
18 int fstcompile_main(int argc, char **argv);
20 int main(int argc, char **argv) { return fstcompile_main(argc, argv); }
int main(int argc, char **argv)
Definition: fstcompile.cc:20
DEFINE_string(arc_type,"standard","Output arc type")
DEFINE_bool(acceptor, false,"Input in acceptor format")
int fstcompile_main(int argc, char **argv)