Moses::GHKM Namespace Reference


Classes

class  AlignmentGraph
class  ComposedRule
class  Exception
class  ExtractGHKM
class  Node
struct  Options
class  ParseTree
struct  Symbol
class  ScfgRule
class  ScfgRuleWriter
class  Subgraph
class  XmlTreeParser

Typedefs

typedef std::vector< std::pair
< int, int > > 
Alignment
typedef std::set< int > Span
typedef std::pair< int, int > ContiguousSpan

Enumerations

enum  NodeType { SOURCE, TARGET, TREE }
enum  SymbolType { Terminal, NonTerminal }

Functions

Alignment ReadAlignment (const std::string &s)
bool SpansIntersect (const Span &a, const ContiguousSpan &b)
ContiguousSpan Closure (const Span &s)

Typedef Documentation

typedef std::vector<std::pair<int, int> > Moses::GHKM::Alignment

Definition at line 33 of file Alignment.h.

typedef std::pair<int, int> Moses::GHKM::ContiguousSpan

Definition at line 33 of file Span.h.

typedef std::set<int> Moses::GHKM::Span

Definition at line 32 of file Span.h.


Enumeration Type Documentation

Enumerator:
SOURCE 
TARGET 
TREE 

Definition at line 38 of file Node.h.

Enumerator:
Terminal 
NonTerminal 

Definition at line 37 of file ScfgRule.h.


Function Documentation

ContiguousSpan Moses::GHKM::Closure ( const Span &  s  ) 

Definition at line 37 of file Span.cpp.

Alignment Moses::GHKM::ReadAlignment ( const std::string &  s  ) 

Definition at line 32 of file Alignment.cpp.

References begin, and end.

Referenced by Moses::GHKM::ExtractGHKM::Main().

Here is the caller graph for this function:

bool Moses::GHKM::SpansIntersect ( const Span &  a,
const ContiguousSpan &  b 
)

Definition at line 27 of file Span.cpp.


Generated on Thu Jun 4 00:32:50 2015 for Moses by  doxygen 1.5.9