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/TranslationOptionCollection.cpp')
-rw-r--r--moses/TranslationOptionCollection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationOptionCollection.cpp b/moses/TranslationOptionCollection.cpp
index aed0fb62a..49fdc2987 100644
--- a/moses/TranslationOptionCollection.cpp
+++ b/moses/TranslationOptionCollection.cpp
@@ -231,7 +231,7 @@ void TranslationOptionCollection::ProcessOneUnknownWord(const InputPath &inputPa
// modify the starting bitmap
}
- TargetPhrase targetPhrase;
+ TargetPhrase targetPhrase(NULL);
if (!(staticData.GetDropUnknown() || isEpsilon) || isDigit) {
// add to dictionary