FST  openfst-1.7.2
OpenFst Library
Namespaces | Functions
util.cc File Reference
#include <fst/util.h>
#include <cctype>
#include <sstream>
#include <string>
#include <fst/flags.h>
#include <fst/log.h>
#include <fst/mapped-file.h>
Include dependency graph for util.cc:

Go to the source code of this file.

Namespaces

 fst
 

Functions

 DEFINE_bool (fst_error_fatal, true,"FST errors are fatal; o.w. return objects flagged as bad: ""e.g., FSTs: kError property set, FST weights: not a Member()")
 
void fst::SplitString (char *line, const char *delim, std::vector< char * > *vec, bool omit_empty_strings)
 
int64 fst::StrToInt64 (const string &s, const string &src, size_t nline, bool allow_negative, bool *error=nullptr)
 
void fst::ConvertToLegalCSymbol (string *s)
 
bool fst::AlignInput (std::istream &strm)
 
bool fst::AlignOutput (std::ostream &strm)
 
int fst::AlignBufferWithOutputStream (std::ostream &strm, std::ostringstream &buffer)
 

Function Documentation

DEFINE_bool ( fst_error_fatal  ,
true  ,
"FST errors are fatal; o.w. return objects flagged as bad: ""e.  g.,
FSTs:kError property  set,
FST weights:not a Member()"   
)