Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TranslationAnalysis.h « moses - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 143f65967dcedcffb54adf7992966bd3dee693b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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);

}