MosesTuning::CapMacroOverlapping Class Reference

#include <SemposOverlapping.h>

Inheritance diagram for MosesTuning::CapMacroOverlapping:

Inheritance graph
Collaboration diagram for MosesTuning::CapMacroOverlapping:

Collaboration graph

List of all members.

Public Member Functions

 CapMacroOverlapping (const SemposScorer *sempos)
 ~CapMacroOverlapping ()
virtual std::vector
< ScoreStatsType
prepareStats (const sentence_t &cand, const sentence_t &ref)
virtual float calculateScore (const std::vector< ScoreStatsType > &stats) const
virtual std::size_t NumberOfScores () const

Detailed Description

Overlapping proposed by (Kos and Bojar, 2009)

Definition at line 82 of file SemposOverlapping.h.

Constructor & Destructor Documentation

MosesTuning::CapMacroOverlapping::CapMacroOverlapping ( const SemposScorer sempos  )  [inline]

Definition at line 85 of file SemposOverlapping.h.

MosesTuning::CapMacroOverlapping::~CapMacroOverlapping (  )  [inline]

Definition at line 86 of file SemposOverlapping.h.

Member Function Documentation

virtual float MosesTuning::CapMacroOverlapping::calculateScore ( const std::vector< ScoreStatsType > &  stats  )  const [virtual]

virtual std::size_t MosesTuning::CapMacroOverlapping::NumberOfScores (  )  const [inline, virtual]

Implements MosesTuning::SemposOverlapping.

Definition at line 90 of file SemposOverlapping.h.

References MosesTuning::kMaxNOC.

vector< ScoreStatsType > MosesTuning::CapMacroOverlapping::prepareStats ( const sentence_t cand,
const sentence_t ref 
) [virtual]

Implements MosesTuning::SemposOverlapping.

Definition at line 70 of file SemposOverlapping.cpp.

References MosesTuning::kMaxNOC, Moses::stats, and MosesTuning::SemposScorer::weight().

Here is the call graph for this function:

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

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