mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
28 lines
494 B
C++
28 lines
494 B
C++
#pragma once
|
|
// $Id$
|
|
|
|
/*
|
|
* also see moses/SentenceStats
|
|
*/
|
|
|
|
#include <iostream>
|
|
|
|
namespace Moses
|
|
{
|
|
class Hypothesis;
|
|
class ChartHypothesis;
|
|
}
|
|
|
|
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);
|
|
void PrintTranslationAnalysis(std::ostream &os, const Moses::ChartHypothesis* hypo);
|
|
|
|
}
|
|
|