// See www.openfst.org for extensive documentation on this weighted
|
// finite-state transducer library.
|
|
#include <fst/flags.h>
|
|
DEFINE_bool(acceptor, false, "Input in acceptor format");
|
DEFINE_string(arc_type, "standard", "Output arc type");
|
DEFINE_string(fst_type, "vector", "Output FST type");
|
DEFINE_string(isymbols, "", "Input label symbol table");
|
DEFINE_string(osymbols, "", "Output label symbol table");
|
DEFINE_string(ssymbols, "", "State label symbol table");
|
DEFINE_bool(keep_isymbols, false, "Store input label symbol table with FST");
|
DEFINE_bool(keep_osymbols, false, "Store output label symbol table with FST");
|
DEFINE_bool(keep_state_numbering, false, "Do not renumber input states");
|
DEFINE_bool(allow_negative_labels, false,
|
"Allow negative labels (not recommended; may cause conflicts)");
|
|
int fstcompile_main(int argc, char **argv);
|
|
int main(int argc, char **argv) { return fstcompile_main(argc, argv); }
|