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