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>
|
2008-10-09 03:51:26 +04:00
|
|
|
#include "Hypothesis.h"
|
2010-08-10 17:12:00 +04:00
|
|
|
#include "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
|
|
|
|
*/
|
2010-08-10 17:12:00 +04:00
|
|
|
void PrintTranslationAnalysis(const Moses::TranslationSystem* system, std::ostream &os, const Moses::Hypothesis* hypo);
|
2006-08-04 22:29:47 +04:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|