diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-13 22:44:52 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-13 22:44:52 +0400 |
commit | 563cdc527a814fd6cf7ffae0c7a5fd86999e0a7a (patch) | |
tree | 4a690b3cfdc825cea603d8687e9d67f7ec4ab8cc /moses/TranslationOptionCollection.h | |
parent | 0d60b7f2ddcfd4be0a74e112eba7d2a2b96dee58 (diff) |
use input path for unknown word processing in phrase-based
Diffstat (limited to 'moses/TranslationOptionCollection.h')
-rw-r--r-- | moses/TranslationOptionCollection.h | 2 |
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(); |