FST  openfst-1.7.9
OpenFst Library
Classes | Namespaces | Typedefs | Enumerations | Functions
string.h File Reference
#include <memory>
#include <ostream>
#include <sstream>
#include <string>
#include <vector>
#include <fst/flags.h>
#include <fst/types.h>
#include <fst/log.h>
#include <fst/compact-fst.h>
#include <fst/icu.h>
#include <fst/mutable-fst.h>
#include <fst/properties.h>
#include <fst/symbol-table.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
 

Typedefs

using fst::StdStringCompiler = StringCompiler< StdArc >
 
using fst::StdStringPrinter = StringPrinter< StdArc >
 

Enumerations

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

Functions

 DECLARE_string (fst_field_separator)
 
std::ostream & fst::operator<< (std::ostream &strm, const TokenType &token_type)
 
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 std::string &str, TokenType token_type, const SymbolTable *syms, Label unknown_label, bool allow_negative, std::vector< Label > *labels, const std::string &sep=FLAGS_fst_field_separator)
 
template<class Label >
bool fst::internal::LabelsToSymbolString (const std::vector< Label > &labels, std::string *str, const SymbolTable &syms, const std::string &sep=FLAGS_fst_field_separator, bool omit_epsilon=true)
 
template<class Label >
bool fst::internal::LabelsToNumericString (const std::vector< Label > &labels, std::string *str, const std::string &sep=FLAGS_fst_field_separator, bool omit_epsilon=true)
 
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, std::string *str, TokenType ttype=TokenType::BYTE, const SymbolTable *syms=nullptr, const std::string &sep=FLAGS_fst_field_separator, bool omit_epsilon=true)
 

Function Documentation

DECLARE_string ( fst_field_separator  )