HFST - Helsinki Finite-State Transducer Technology - C++ API  version 3.9.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Enumerations
HfstDataTypes.h File Reference

Datatypes that are needed when using the HFST API. More...

#include <string>
#include <iostream>
#include <vector>
#include <map>
#include <set>

Go to the source code of this file.

Classes

class  HfstTransition< C >
 A transition that consists of a target state and transition data represented by class C. More...
 
class  HfstTransitionGraph< C >
 A simple transition graph format that consists of states and transitions between those states. More...
 

Namespaces

 hfst
 A namespace for HFST functions and datatypes.
 
 hfst::implementations
 A namespace for all code that forms a bridge between backend libraries and HFST.
 

Typedefs

typedef HfstTransitionGraph
< HfstTropicalTransducerTransitionData > 
HfstBasicTransducer
 An HfstTransitionGraph with transitions of type HfstTropicalTransducerTransitionData and weight type float. More...
 
typedef HfstTransition
< HfstTropicalTransducerTransitionData > 
HfstBasicTransition
 An HfstTransition with transition data of type HfstTropicalTransducerTransitionData. More...
 
typedef std::pair< float,
StringVector > 
HfstOneLevelPath
 A path of one level of arcs with collected weight. More...
 
typedef std::set
< HfstOneLevelPath > 
HfstOneLevelPaths
 A set of simple paths. More...
 
typedef unsigned int HfstState
 The number of a state in an HfstTransitionGraph. More...
 
typedef std::pair
< HfstTransducer,
HfstTransducer > 
HfstTransducerPair
 A pair of transducers. More...
 
typedef std::vector
< HfstTransducerPair > 
HfstTransducerPairVector
 A vector of transducer pairs. More...
 
typedef std::vector
< HfstTransducer > 
HfstTransducerVector
 a vector of transducers for methods applying a cascade of automata More...
 
typedef std::pair< float,
StringPairVector > 
HfstTwoLevelPath
 A path of two level of arcs with collected weight. More...
 
typedef std::set
< HfstTwoLevelPath > 
HfstTwoLevelPaths
 A set of two-level weighted paths. More...
 
typedef std::vector< std::pair
< std::string, std::string > > 
StringPairVector
 A vector of string pairs. More...
 
typedef std::vector< std::string > StringVector
 A vector of strings. More...
 

Enumerations

enum  ImplementationType {
  SFST_TYPE,
  TROPICAL_OPENFST_TYPE,
  LOG_OPENFST_TYPE,
  FOMA_TYPE,
  XFSM_TYPE,
  HFST_OL_TYPE,
  HFST_OLW_TYPE,
  HFST2_TYPE,
  UNSPECIFIED_TYPE,
  ERROR_TYPE
}
 The type of an HfstTransducer. More...
 
enum  PushType {
  TO_INITIAL_STATE,
  TO_FINAL_STATE
}
 The type of a push operation. More...
 

Detailed Description

Datatypes that are needed when using the HFST API.