2010-07-18 03:23:09 +04:00
|
|
|
// $Id$
|
2010-04-08 21:16:10 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* also see moses/SentenceStats
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TRANSLATION_ANALYSIS_H_
|
|
|
|
#define _TRANSLATION_ANALYSIS_H_
|
|
|
|
|
|
|
|
#include <iostream>
|
2012-11-13 00:21:32 +04:00
|
|
|
#include "moses/ChartHypothesis.h"
|
2010-04-08 21:16:10 +04:00
|
|
|
|
|
|
|
namespace TranslationAnalysis
|
|
|
|
{
|
|
|
|
|
2012-06-29 04:12:31 +04:00
|
|
|
/**
|
2010-04-08 21:16:10 +04:00
|
|
|
* print details about the translation represented in hypothesis to
|
|
|
|
* os. Included information: phrase alignment, words dropped, scores
|
|
|
|
*/
|
2011-02-24 15:40:21 +03:00
|
|
|
void PrintTranslationAnalysis(std::ostream &os, const Moses::Hypothesis* hypo);
|
2010-04-08 21:16:10 +04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|