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:
authorHieu Hoang <hieuhoang@gmail.com>2012-11-22 21:37:36 +0400
committerHieu Hoang <hieuhoang@gmail.com>2012-11-22 21:37:36 +0400
commitd0cf8f47dbb9ef507591a3153485958df73bae8e (patch)
treee45b0693bd08a465d2a4a89ca0e520f0e1bd8e3a
parent487822ed1498aef86fe773cdf4932b6a9fc1599a (diff)
order of lexical probability has flipped
-rw-r--r--phrase-extract/consolidate-main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/phrase-extract/consolidate-main.cpp b/phrase-extract/consolidate-main.cpp
index 43b3f32a1..70de9678b 100644
--- a/phrase-extract/consolidate-main.cpp
+++ b/phrase-extract/consolidate-main.cpp
@@ -272,12 +272,12 @@ void processFiles( char* fileNameDirect, char* fileNameIndirect, char* fileNameC
// prob indirect
if (!onlyDirectFlag) {
fileConsolidated << " " << maybeLogProb(adjustedCountEF_indirect/countE);
- fileConsolidated << " " << directScores;
+ fileConsolidated << " " << indirectScores;
}
// prob direct
fileConsolidated << " " << maybeLogProb(adjustedCountEF/countF);
- fileConsolidated << " " << indirectScores;
+ fileConsolidated << " " << directScores;
// phrase count feature
if (phraseCountFlag) {