ZGen  0.2.0
a linearization system for natural language.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Functions | Variables
ZGen Namespace Reference

Namespaces

 BestFirst
 
 Engine
 
 IO
 
 Knowledge
 
 MachineLearning
 
 ShiftReduce
 
 Utility
 

Classes

struct  DependencyParse
 
class  InstanceUtils
 
class  DependencyTree
 
class  DependencyTreeWithGuidance
 
class  DependencyForest
 

Typedefs

typedef double floatval_t
 
typedef int word_t
 
typedef int postag_t
 
typedef int deprel_t
 
typedef std::vector< word_tsentence_t
 
typedef DependencyParse dependency_t
 
typedef DependencyParse unordered_dependency_t
 

Functions

std::ostream & operator<< (std::ostream &os, const DependencyParse &d)
 
std::ostream & operator<< (std::ostream &os, const DependencyTree &tree)
 
std::ostream & operator<< (std::ostream &os, const DependencyForest &tree)
 

Variables

const int kMaxNumberOfWords = 180
 
const int kMaxLengthOfBuffer = 2048
 
const int kStartIndexOfValidPostag
 
const int kNumberOfPostags
 
const int kStartIndexOfValidDependencyRelation
 
const int kNumberOfDependencyRelations
 
const floatval_t inf = 1e20
 

Typedef Documentation

typedef int ZGen::deprel_t
typedef double ZGen::floatval_t
typedef int ZGen::postag_t
typedef std::vector<word_t> ZGen::sentence_t
typedef int ZGen::word_t

Function Documentation

std::ostream& ZGen::operator<< ( std::ostream &  os,
const DependencyParse &  d 
)
std::ostream& ZGen::operator<< ( std::ostream &  os,
const DependencyTree &  tree 
)
std::ostream& ZGen::operator<< ( std::ostream &  os,
const DependencyForest &  tree 
)

Variable Documentation

const floatval_t ZGen::inf = 1e20
const int ZGen::kMaxLengthOfBuffer = 2048
const int ZGen::kMaxNumberOfWords = 180
const int ZGen::kNumberOfDependencyRelations
Initial value:
=
Engine::PennTreebankDeprelAlphabet::kMaxIndexOfDependencyRelation
const int ZGen::kNumberOfPostags
Initial value:
=
Engine::PennTreebankPostagAlphabet::kMaxIndexOfPosTag
const int ZGen::kStartIndexOfValidDependencyRelation
Initial value:
=
Engine::PennTreebankDeprelAlphabet::NONE+ 1
const int ZGen::kStartIndexOfValidPostag
Initial value:
=
Engine::PennTreebankPostagAlphabet::END+ 1