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-08-13 22:44:52 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-13 22:44:52 +0400
commit563cdc527a814fd6cf7ffae0c7a5fd86999e0a7a (patch)
tree4a690b3cfdc825cea603d8687e9d67f7ec4ab8cc /moses/TranslationOptionCollection.h
parent0d60b7f2ddcfd4be0a74e112eba7d2a2b96dee58 (diff)
use input path for unknown word processing in phrase-based
Diffstat (limited to 'moses/TranslationOptionCollection.h')
-rw-r--r--moses/TranslationOptionCollection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationOptionCollection.h b/moses/TranslationOptionCollection.h
index 72bb4e394..1285e5caa 100644
--- a/moses/TranslationOptionCollection.h
+++ b/moses/TranslationOptionCollection.h
@@ -79,7 +79,7 @@ protected:
//! Force a creation of a translation option where there are none for a particular source position.
void ProcessUnknownWord();
//! special handling of ONE unknown words.
- virtual void ProcessOneUnknownWord(const Word &sourceWord, size_t sourcePos, size_t length = 1, const Scores *inputScores = NULL);
+ virtual void ProcessOneUnknownWord(const InputPath &inputPath, size_t sourcePos, size_t length = 1, const Scores *inputScores = NULL);
//! pruning: only keep the top n (m_maxNoTransOptPerCoverage) elements */
void Prune();