Moses::TrainingLossBLEU Class Reference

#include <TrainingLoss.h>

Inheritance diagram for Moses::TrainingLossBLEU:

Inheritance graph
Collaboration diagram for Moses::TrainingLossBLEU:

Collaboration graph

List of all members.

Public Member Functions

virtual float operator() (const TargetPhrase &candidate, const TargetPhrase &correct, bool isCorrect) const

Detailed Description

BLEU2+1 training loss.

Definition at line 37 of file TrainingLoss.h.

Member Function Documentation

virtual float Moses::TrainingLossBLEU::operator() ( const TargetPhrase candidate,
const TargetPhrase correct,
bool  isCorrect 
) const [inline, virtual]

Implements Moses::TrainingLoss.

Definition at line 40 of file TrainingLoss.h.

References Moses::Phrase::GetSize().

Here is the call graph for this function:

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

Generated on Thu Jul 6 00:33:13 2017 for Moses by  doxygen 1.5.9