2006-08-05 20:00:56 +04:00
|
|
|
// $Id$
|
|
|
|
|
2006-08-12 01:04:38 +04:00
|
|
|
/*
|
|
|
|
* also see moses/SentenceStats
|
|
|
|
*/
|
|
|
|
|
2010-02-24 14:15:44 +03:00
|
|
|
#ifndef moses_cmd_TranslationAnalysis_h
|
|
|
|
#define moses_cmd_TranslationAnalysis_h
|
2006-08-04 22:29:47 +04:00
|
|
|
|
|
|
|
#include <iostream>
|
2012-11-13 00:21:32 +04:00
|
|
|
#include "moses/Hypothesis.h"
|
|
|
|
#include "moses/TranslationSystem.h"
|
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
|
|
|
|
*/
|
2011-02-24 15:39:29 +03:00
|
|
|
void PrintTranslationAnalysis(const Moses::TranslationSystem* system, std::ostream &os, const Moses::Hypothesis* hypo);
|
2006-08-04 22:29:47 +04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|