mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
25 lines
442 B
C++
25 lines
442 B
C++
// $Id$
|
|
|
|
/*
|
|
* also see moses/SentenceStats
|
|
*/
|
|
|
|
#ifndef _TRANSLATION_ANALYSIS_H_
|
|
#define _TRANSLATION_ANALYSIS_H_
|
|
|
|
#include <iostream>
|
|
#include "moses/ChartHypothesis.h"
|
|
|
|
namespace TranslationAnalysis
|
|
{
|
|
|
|
/**
|
|
* print details about the translation represented in hypothesis to
|
|
* os. Included information: phrase alignment, words dropped, scores
|
|
*/
|
|
void PrintTranslationAnalysis(std::ostream &os, const Moses::Hypothesis* hypo);
|
|
|
|
}
|
|
|
|
#endif
|