mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
25 lines
452 B
C++
25 lines
452 B
C++
// $Id$
|
|
|
|
/*
|
|
* also see moses/SentenceStats
|
|
*/
|
|
|
|
#ifndef moses_cmd_TranslationAnalysis_h
|
|
#define moses_cmd_TranslationAnalysis_h
|
|
|
|
#include <iostream>
|
|
#include "moses/Hypothesis.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
|