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
path: root/moses
diff options
context:
space:
mode:
authorhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-08-16 02:15:58 +0400
committerhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-08-16 02:15:58 +0400
commit45520ae43451ac10f4d3956ff181bb757324056a (patch)
tree60b891bba4d6f094079b84f46afee14a168f2f1e /moses
parentdbc8be5d853de024ea280aee28f4bced4a75e32f (diff)
fixed minor inconsistency in unknown word handling
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@764 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses')
-rw-r--r--moses/src/TranslationOptionCollection.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/moses/src/TranslationOptionCollection.cpp b/moses/src/TranslationOptionCollection.cpp
index 63f5e3440..b125cffae 100644
--- a/moses/src/TranslationOptionCollection.cpp
+++ b/moses/src/TranslationOptionCollection.cpp
@@ -428,11 +428,6 @@ void TranslationOptionCollection::ProcessInitialTranslation(
TRACE_ERR(endl);
}
}
- // handling unknown words
- else if (wordsRange.GetWordsCount() == 1)
- {
- ProcessUnknownWord(startPos, factorCollection);
- }
}
/** add translation option to the list