2014-09-29 20:16:11 +04:00
|
|
|
#pragma once
|
2006-08-05 20:00:56 +04:00
|
|
|
// $Id$
|
|
|
|
|
2006-08-12 01:04:38 +04:00
|
|
|
/*
|
|
|
|
* also see moses/SentenceStats
|
|
|
|
*/
|
|
|
|
|
2006-08-04 22:29:47 +04:00
|
|
|
#include <iostream>
|
2014-09-29 20:16:11 +04:00
|
|
|
|
2015-01-14 14:07:42 +03:00
|
|
|
namespace Moses
|
|
|
|
{
|
|
|
|
class Hypothesis;
|
|
|
|
class ChartHypothesis;
|
2014-09-29 20:16:11 +04:00
|
|
|
}
|
2006-08-04 22:29:47 +04:00
|
|
|
|
|
|
|
namespace TranslationAnalysis
|
|
|
|
{
|
|
|
|
|
|
|
|
/***
|
|
|
|
* print details about the translation represented in hypothesis to
|
|
|
|
* os. Included information: phrase alignment, words dropped, scores
|
|
|
|
*/
|
2013-05-11 17:13:26 +04:00
|
|
|
void PrintTranslationAnalysis(std::ostream &os, const Moses::Hypothesis* hypo);
|
2014-09-29 20:16:11 +04:00
|
|
|
void PrintTranslationAnalysis(std::ostream &os, const Moses::ChartHypothesis* hypo);
|
2006-08-04 22:29:47 +04:00
|
|
|
|
|
|
|
}
|
|
|
|
|