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:
authorMosesAdmin <moses-support-owner@mit.edu>2015-12-09 03:00:35 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2015-12-09 03:00:35 +0300
commit59365f2bd3f2ed6d7f77d7fee08ab6d2ac201750 (patch)
treeefb8beb9aa968992fc63385d2343848fc834fe76 /moses/mbr.cpp
parent2da95fe74a7a9f5388f7a57b1134a04881a908c7 (diff)
daily automatic beautifier
Diffstat (limited to 'moses/mbr.cpp')
-rw-r--r--moses/mbr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/mbr.cpp b/moses/mbr.cpp
index 36afd8a92..9a2f91124 100644
--- a/moses/mbr.cpp
+++ b/moses/mbr.cpp
@@ -119,7 +119,7 @@ const TrellisPath doMBR(const TrellisPathList& nBestList, AllOptions const& opts
// get words in translation
vector<const Factor*> translation;
GetOutputFactors(path, oFactors[0], translation);
-
+
// collect n-gram counts
map < vector < const Factor *>, int > counts;
extract_ngrams(translation,counts);
@@ -158,9 +158,9 @@ const TrellisPath doMBR(const TrellisPathList& nBestList, AllOptions const& opts
//return translations[minMBRLossIdx];
}
-void
+void
GetOutputFactors(const TrellisPath &path, FactorType const oFactor,
- vector <const Factor*> &translation)
+ vector <const Factor*> &translation)
{
const std::vector<const Hypothesis *> &edges = path.GetEdges();