FST  openfst-1.7.3
OpenFst Library
farcreate.cc
Go to the documentation of this file.
1 #include <fst/flags.h>
2 
3 DEFINE_string(key_prefix, "", "Prefix to append to keys");
4 DEFINE_string(key_suffix, "", "Suffix to append to keys");
5 DEFINE_int32(generate_keys, 0,
6  "Generate N digit numeric keys (def: use file basenames)");
7 DEFINE_string(far_type, "default",
8  "FAR file format type: one of: \"default\", "
9  "\"stlist\", \"sttable\"");
10 DEFINE_bool(file_list_input, false,
11  "Each input file contains a list of files to be processed");
12 
13 int farcreate_main(int argc, char **argv);
14 int main(int argc, char **argv) {
15  return farcreate_main(argc, argv);
16 }
DEFINE_bool(file_list_input, false,"Each input file contains a list of files to be processed")
DEFINE_int32(generate_keys, 0,"Generate N digit numeric keys (def: use file basenames)")
DEFINE_string(key_prefix,"","Prefix to append to keys")
int farcreate_main(int argc, char **argv)
int main(int argc, char **argv)
Definition: farcreate.cc:14