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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-12-07 19:07:11 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-12-07 19:07:11 +0300
commitc4e45fb128e096f255a624b57b7826febdf06f2e (patch)
tree74455d64b0e45877c91dc2488838cfe01732b224 /moses/mbr.h
parent2be2481feb2d68d6e4ba366d06fcfa51f7ff664e (diff)
Code cleanup.
Diffstat (limited to 'moses/mbr.h')
-rw-r--r--moses/mbr.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/moses/mbr.h b/moses/mbr.h
index d08b11a98..b4674168b 100644
--- a/moses/mbr.h
+++ b/moses/mbr.h
@@ -21,8 +21,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#ifndef moses_cmd_mbr_h
#define moses_cmd_mbr_h
+#include "moses/parameters/AllOptions.h"
+
+Moses::TrellisPath const
+doMBR(Moses::TrellisPathList const& nBestList, Moses::AllOptions const& opts);
+
+void
+GetOutputFactors(const Moses::TrellisPath &path, Moses::FactorType const f,
+ std::vector <const Moses::Factor*> &translation);
+
+float
+calculate_score(const std::vector< std::vector<const Moses::Factor*> > & sents,
+ int ref, int hyp,
+ std::vector<std::map<std::vector<const Moses::Factor*>,int> > &
+ ngram_stats );
-const Moses::TrellisPath doMBR(const Moses::TrellisPathList& nBestList);
-void GetOutputFactors(const Moses::TrellisPath &path, std::vector <const Moses::Factor*> &translation);
-float calculate_score(const std::vector< std::vector<const Moses::Factor*> > & sents, int ref, int hyp, std::vector < std::map < std::vector < const Moses::Factor *>, int > > & ngram_stats );
#endif