MosesTraining::SyntaxNode Struct Reference

#include <SyntaxNode.h>

List of all members.

Public Types

typedef std::map< std::string,
std::string > 
AttributeMap

Public Member Functions

 SyntaxNode (const std::string &label_, int start_, int end_)

Public Attributes

std::string label
int start
int end
AttributeMap attributes


Detailed Description

A node in a syntactic structure (tree, lattice, etc.). SyntaxNodes have a label and a span plus an arbitrary set of name/value attributes.

Definition at line 31 of file SyntaxNode.h.


Member Typedef Documentation

typedef std::map<std::string, std::string> MosesTraining::SyntaxNode::AttributeMap

Definition at line 32 of file SyntaxNode.h.


Constructor & Destructor Documentation

MosesTraining::SyntaxNode::SyntaxNode ( const std::string &  label_,
int  start_,
int  end_ 
) [inline]

Definition at line 34 of file SyntaxNode.h.


Member Data Documentation

Definition at line 43 of file SyntaxNode.h.

Referenced by getPcfgScore(), and MosesTraining::ProcessAndStripXMLTags().

Definition at line 42 of file SyntaxNode.h.

Referenced by MosesTraining::SyntaxNodeCollection::ExtractTree().

Definition at line 40 of file SyntaxNode.h.

Referenced by MosesTraining::ProcessAndStripXMLTags().

Definition at line 41 of file SyntaxNode.h.

Referenced by MosesTraining::SyntaxNodeCollection::ExtractTree().


The documentation for this struct was generated from the following file:

Generated on Thu Jul 6 00:34:08 2017 for Moses by  doxygen 1.5.9