FST  openfst-1.7.1
OpenFst Library
Namespaces | Functions | Variables
fst.cc File Reference
#include <fst/fst.h>
#include <sstream>
#include <fst/flags.h>
#include <fst/log.h>
#include <fst/matcher-fst.h>
Include dependency graph for fst.cc:

Go to the source code of this file.

Namespaces

 fst
 

Functions

 DEFINE_bool (fst_verify_properties, false,"Verify FST properties queried by TestProperties")
 
 DEFINE_bool (fst_default_cache_gc, true,"Enable garbage collection of cache")
 
 DEFINE_int64 (fst_default_cache_gc_limit, 1<< 20LL,"Cache byte size that triggers garbage collection")
 
 DEFINE_bool (fst_align, false,"Write FST data aligned where appropriate")
 
 DEFINE_string (save_relabel_ipairs,"","Save input relabel pairs to file")
 
 DEFINE_string (save_relabel_opairs,"","Save output relabel pairs to file")
 
 DEFINE_string (fst_read_mode,"read","Default file reading mode for mappable files")
 
bool fst::IsFstHeader (std::istream &, const string &)
 

Variables

constexpr int32 fst::kFstMagicNumber = 2125659606
 

Function Documentation

DEFINE_bool ( fst_verify_properties  ,
false  ,
"Verify FST properties queried by TestProperties"   
)
DEFINE_bool ( fst_default_cache_gc  ,
true  ,
"Enable garbage collection of cache"   
)
DEFINE_bool ( fst_align  ,
false  ,
"Write FST data aligned where appropriate"   
)
DEFINE_int64 ( fst_default_cache_gc_limit  ,
1<<  20LL,
"Cache byte size that triggers garbage collection"   
)
DEFINE_string ( save_relabel_ipairs  ,
""  ,
"Save input relabel pairs to file"   
)
DEFINE_string ( save_relabel_opairs  ,
""  ,
"Save output relabel pairs to file"   
)
DEFINE_string ( fst_read_mode  ,
"read"  ,
"Default file reading mode for mappable files"   
)