00001 #pragma once 00002 // $Id$ 00003 00004 /* 00005 * also see moses/SentenceStats 00006 */ 00007 00008 #include <iostream> 00009 00010 namespace Moses 00011 { 00012 class Hypothesis; 00013 class ChartHypothesis; 00014 } 00015 00016 namespace TranslationAnalysis 00017 { 00018 00019 /*** 00020 * print details about the translation represented in hypothesis to 00021 * os. Included information: phrase alignment, words dropped, scores 00022 */ 00023 void PrintTranslationAnalysis(std::ostream &os, const Moses::Hypothesis* hypo); 00024 void PrintTranslationAnalysis(std::ostream &os, const Moses::ChartHypothesis* hypo); 00025 00026 } 00027