FST  openfst-1.8.3
OpenFst Library
Functions
fstinfo.cc File Reference
#include <fst/flags.h>
Include dependency graph for fstinfo.cc:

Go to the source code of this file.

Functions

 DEFINE_string (arc_filter,"any","Arc filter: one of"" \"any\", \"epsilon\", \"iepsilon\", \"oepsilon\"; ""this only affects the counts of (co)accessible states, ""connected states, and (strongly) connected components")
 
 DEFINE_string (info_type,"auto","Info format: one of \"auto\", \"long\", \"short\", \"fast\".\n""auto: Equivalent to \"long\" if the FST is an ExpandedFst,"" otherwise \"short\".\n""long: Print all properties, computing if unknown;"" this may be slow for large FSTs.\n""short: Print only type and SymbolTable info.\n""fast: Print only info that is fast to obtain (by reading"" only the file header);"" this is more info than \"short\","" but less than \"long\".")
 
 DEFINE_bool (test_properties, true,"Compute property values (if unknown to FST)")
 
 DEFINE_bool (fst_verify, true,"Verify FST sanity")
 
int fstinfo_main (int argc, char **argv)
 
int main (int argc, char **argv)
 

Function Documentation

DEFINE_bool ( test_properties  ,
true  ,
"Compute property values (if unknown to FST)"   
)
DEFINE_bool ( fst_verify  ,
true  ,
"Verify FST sanity"   
)
DEFINE_string ( arc_filter  ,
"any"  ,
"Arc filter: one of"" \"any\"  ,
\"epsilon\"  ,
\"iepsilon\"  ,
\"oepsilon\"; ""this only affects the counts of (co)accessible  states,
""connected  states,
and(strongly) connected components"   
)
DEFINE_string ( info_type  ,
"auto"  ,
"Info format: one of \"auto\"  ,
\"long\"  ,
\"short\"  ,
\"fast\".\n""auto: Equivalent to \"long\" if the FST is an  ExpandedFst,
""otherwise\"short\".\n""long: Print all  properties,
computing if unknown;""this may be slow for large FSTs.\n""short:Print only type and SymbolTable info.\n""fast:Print only info that is fast to obtain(by reading""only the file header);""this is more info than\"short\"  ,
""but less than\"long\"."   
)
int fstinfo_main ( int  argc,
char **  argv 
)

Definition at line 74 of file fstinfo-main.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 41 of file fstinfo.cc.