Classes | |
class | AlignmentGraph |
class | ComposedRule |
class | Exception |
class | ExtractGHKM |
class | Node |
struct | Options |
class | PhraseOrientation |
class | Symbol |
class | Rule |
class | ScfgRule |
class | ScfgRuleWriter |
class | StsgRule |
class | StsgRuleWriter |
class | Subgraph |
Typedefs | |
typedef std::vector< std::pair < int, int > > | Alignment |
typedef std::map< int, std::set< int > > | HSentenceVertices |
typedef std::set< int > | Span |
typedef std::pair< int, int > | ContiguousSpan |
Enumerations | |
enum | NodeType { SOURCE, TARGET, TREE } |
enum | SymbolType { Terminal, NonTerminal } |
Functions | |
void | ReadAlignment (const std::string &s, Alignment &a) |
void | FlipAlignment (Alignment &a) |
bool | SpansIntersect (const Span &a, const ContiguousSpan &b) |
ContiguousSpan | Closure (const Span &s) |
typedef std::vector<std::pair<int, int> > MosesTraining::GHKM::Alignment |
Definition at line 31 of file Alignment.h.
typedef std::pair<int, int> MosesTraining::GHKM::ContiguousSpan |
typedef std::map<int, std::set<int> > MosesTraining::GHKM::HSentenceVertices |
Definition at line 39 of file PhraseOrientation.h.
typedef std::set<int> MosesTraining::GHKM::Span |
ContiguousSpan MosesTraining::GHKM::Closure | ( | const Span & | s | ) |
void MosesTraining::GHKM::FlipAlignment | ( | Alignment & | a | ) |
Definition at line 65 of file Alignment.cpp.
References swap().
Referenced by MosesTraining::GHKM::ExtractGHKM::Main().
void MosesTraining::GHKM::ReadAlignment | ( | const std::string & | s, | |
Alignment & | a | |||
) |
Definition at line 33 of file Alignment.cpp.
References begin, end, and src.
Referenced by MosesTraining::GHKM::ExtractGHKM::Main().
bool MosesTraining::GHKM::SpansIntersect | ( | const Span & | a, | |
const ContiguousSpan & | b | |||
) |