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 <hieu@hoang.co.uk>2013-10-03 21:58:45 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-10-03 21:58:45 +0400
commitf18e35c42a9d07ca11d5fed107f97999076cfae5 (patch)
tree2d22fc29d93b75bc4e33854e7f655c1cc2cc882f /moses/WordLattice.cpp
parenta41dbeba46cd9dd0eb0135461464a49e79ac96b5 (diff)
correct creation of input paths for lattices
Diffstat (limited to 'moses/WordLattice.cpp')
-rw-r--r--moses/WordLattice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/WordLattice.cpp b/moses/WordLattice.cpp
index 35f67a13e..b44534d2f 100644
--- a/moses/WordLattice.cpp
+++ b/moses/WordLattice.cpp
@@ -212,15 +212,15 @@ WordLattice::CreateTranslationOptionCollection() const
float translationOptionThreshold = StaticData::Instance().GetTranslationOptionThreshold();
TranslationOptionCollection *rv = NULL;
- //rv = new TranslationOptionCollectionConfusionNet(*this, maxNoTransOptPerCoverage, translationOptionThreshold);
-
+ rv = new TranslationOptionCollectionConfusionNet(*this, maxNoTransOptPerCoverage, translationOptionThreshold);
+ /*
if (StaticData::Instance().GetUseLegacyPT()) {
rv = new TranslationOptionCollectionConfusionNet(*this, maxNoTransOptPerCoverage, translationOptionThreshold);
}
else {
rv = new TranslationOptionCollectionLattice(*this, maxNoTransOptPerCoverage, translationOptionThreshold);
}
-
+ */
CHECK(rv);
return rv;
}