FST  openfst-1.7.2
OpenFst Library
Classes | Namespaces | Enumerations | Functions
string.h File Reference
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <fst/flags.h>
#include <fst/log.h>
#include <fst/compact-fst.h>
#include <fst/icu.h>
#include <fst/mutable-fst.h>
#include <fst/util.h>
Include dependency graph for string.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fst::StringCompiler< Arc >
 
class  fst::StringPrinter< Arc >
 

Namespaces

 fst
 
 fst::internal
 

Enumerations

enum  fst::StringTokenType { fst::SYMBOL = 1, fst::BYTE = 2, fst::UTF8 = 3 }
 

Functions

 DECLARE_string (fst_field_separator)
 
template<class Label >
bool fst::internal::ConvertSymbolToLabel (const char *str, const SymbolTable *syms, Label unknown_label, bool allow_negative, Label *output)
 
template<class Label >
bool fst::internal::ConvertStringToLabels (const string &str, StringTokenType token_type, const SymbolTable *syms, Label unknown_label, bool allow_negative, std::vector< Label > *labels)
 
template<class Label >
bool fst::internal::LabelsToSymbolString (const std::vector< Label > &labels, string *str, const SymbolTable &syms, const string *sep=nullptr)
 
template<class Arc >
bool fst::StringFstToOutputLabels (const Fst< Arc > &fst, std::vector< typename Arc::Label > *labels)
 
template<class Label >
bool fst::LabelsToString (const std::vector< Label > &labels, string *str, StringTokenType ttype=BYTE, const SymbolTable *syms=nullptr, const string *sep=nullptr)
 

Function Documentation

DECLARE_string ( fst_field_separator  )