FST  openfst-1.7.1
OpenFst Library
Functions
farcreate.cc File Reference
#include <string>
#include <vector>
#include <fst/flags.h>
#include <fst/extensions/far/farscript.h>
#include <fst/extensions/far/getters.h>
#include <fstream>
Include dependency graph for farcreate.cc:

Go to the source code of this file.

Functions

 DEFINE_string (key_prefix,"","Prefix to append to keys")
 
 DEFINE_string (key_suffix,"","Suffix to append to keys")
 
 DEFINE_int32 (generate_keys, 0,"Generate N digit numeric keys (def: use file basenames)")
 
 DEFINE_string (far_type,"default","FAR file format type: one of: \"default\", ""\"stlist\", \"sttable\"")
 
 DEFINE_bool (file_list_input, false,"Each input file contains a list of files to be processed")
 
int main (int argc, char **argv)
 

Function Documentation

DEFINE_bool ( file_list_input  ,
false  ,
"Each input file contains a list of files to be processed"   
)
DEFINE_int32 ( generate_keys  ,
,
"Generate N digit numeric keys (def: use file basenames)"   
)
DEFINE_string ( key_prefix  ,
""  ,
"Prefix to append to keys"   
)
DEFINE_string ( key_suffix  ,
""  ,
"Suffix to append to keys"   
)
DEFINE_string ( far_type  ,
"default"  ,
"FAR file format type: one of: \"default\"  ,
""\"stlist\"  ,
\"sttable\""   
)
int main ( int  argc,
char **  argv 
)

Definition at line 24 of file farcreate.cc.