MosesTuning::M2::Annot Struct Reference

#include <M2.h>

List of all members.

Public Member Functions

bool operator< (Annot a) const
bool operator== (Annot a) const

Static Public Member Functions

static std::string transform (const std::string &e)

Public Attributes

size_t i
size_t j
std::string type
std::string edit
size_t annotator

Static Public Attributes

static bool lowercase = true


Detailed Description

Definition at line 33 of file M2.h.


Member Function Documentation

bool MosesTuning::M2::Annot::operator< ( Annot  a  )  const [inline]

Definition at line 42 of file M2.h.

References annotator, edit, i, j, and transform().

Here is the call graph for this function:

bool MosesTuning::M2::Annot::operator== ( Annot  a  )  const [inline]

Definition at line 48 of file M2.h.

std::string MosesTuning::M2::Annot::transform ( const std::string &  e  )  [static]

Definition at line 14 of file M2.cpp.

References lowercase, and MosesTuning::M2::ToLower().

Referenced by MosesTuning::M2::M2::AddWeights(), MosesTuning::M2::M2::LevenshteinMatrix(), and operator<().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 40 of file M2.h.

Referenced by MosesTuning::M2::M2::AddStats(), operator<(), and MosesTuning::M2::M2::ReadM2().

Definition at line 38 of file M2.h.

Referenced by MosesTuning::M2::M2::AddStats(), operator<(), and MosesTuning::M2::M2::ReadM2().

Definition at line 34 of file M2.h.

Referenced by MosesTuning::M2::M2::AddStats(), operator<(), and MosesTuning::M2::M2::ReadM2().

Definition at line 35 of file M2.h.

Referenced by MosesTuning::M2::M2::AddStats(), operator<(), and MosesTuning::M2::M2::ReadM2().

bool MosesTuning::M2::Annot::lowercase = true [static]

Definition at line 54 of file M2.h.

Referenced by MosesTuning::M2::M2::M2(), and transform().

Definition at line 37 of file M2.h.

Referenced by MosesTuning::M2::M2::ReadM2().


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

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