FST  openfst-1.7.3
OpenFst Library
farextract.cc
Go to the documentation of this file.
1 #include <fst/flags.h>
2 
3 DEFINE_string(filename_prefix, "", "Prefix to append to filenames");
4 DEFINE_string(filename_suffix, "", "Suffix to append to filenames");
5 DEFINE_int32(generate_filenames, 0,
6  "Generate N digit numeric filenames (def: use keys)");
7 DEFINE_string(keys, "",
8  "Extract set of keys separated by comma (default) "
9  "including ranges delimited by dash (default)");
10 DEFINE_string(key_separator, ",", "Separator for individual keys");
11 DEFINE_string(range_delimiter, "-", "Delimiter for ranges of keys");
12 
13 int farextract_main(int argc, char **argv);
14 int main(int argc, char **argv) {
15  return farextract_main(argc, argv);
16 }
int farextract_main(int argc, char **argv)
DEFINE_string(filename_prefix,"","Prefix to append to filenames")
int main(int argc, char **argv)
Definition: farextract.cc:14
DEFINE_int32(generate_filenames, 0,"Generate N digit numeric filenames (def: use keys)")