From 3516ef42b8727032db88ead8099ee1f66e3aa10f Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Fri, 14 Jun 2013 21:22:38 +0100 Subject: [PATCH] segment confusion network in class TranslationOptionCollectionConfusionNet, rather than in PDAImp. Get ready to make it work with any phrase table --- moses/TranslationOptionCollectionConfusionNet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/moses/TranslationOptionCollectionConfusionNet.cpp b/moses/TranslationOptionCollectionConfusionNet.cpp index f7fe53b09..97a22e3d2 100644 --- a/moses/TranslationOptionCollectionConfusionNet.cpp +++ b/moses/TranslationOptionCollectionConfusionNet.cpp @@ -58,6 +58,7 @@ TranslationOptionCollectionConfusionNet::TranslationOptionCollectionConfusionNet } // for (iter = col.begin(); iter != col.end(); ++iter) { } // for (size_t startPos = 0; startPos < size; ++startPos) { + // create subphrases by appending words to previous subphrases for (size_t startPos = 0; startPos < size; ++startPos) { for (size_t endPos = startPos + 1; endPos < size; ++endPos) { std::vector &newSubphrases = GetPhrases(startPos, endPos);