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:
Diffstat (limited to 'moses/src/ChartManager.cpp')
-rw-r--r--[-rwxr-xr-x]moses/src/ChartManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/src/ChartManager.cpp b/moses/src/ChartManager.cpp
index ad8f0dc84..77b703007 100755..100644
--- a/moses/src/ChartManager.cpp
+++ b/moses/src/ChartManager.cpp
@@ -185,7 +185,8 @@ void ChartManager::CalcNBest(size_t count, ChartTrellisPathList &ret, bool onlyD
// Get all complete translations
Word *w = new Word();
- w->CreateFromString(Output, staticData.GetOutputFactorOrder(), "TOP", true);
+ //w->CreateFromString(Output, staticData.GetOutputFactorOrder(), "TOP", true);
+ w->CreateFromString(Output, staticData.GetOutputFactorOrder(), "S", true);
const HypoList topHypos = lastCell.GetSortedHypotheses(*w);
// Create a ChartTrellisDetour for each complete translation and add it to the queue