diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-04 19:25:19 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-04 19:25:19 +0300 |
commit | c5fdb170fbe82213dc123b7b892ded7d32695d2c (patch) | |
tree | 00610370daccd6a94c3668ad666831b567b398b0 /moses/TranslationTask.h | |
parent | d5e315a599196f40229ab05cd5ab49fbd8ec100d (diff) |
move OutputUnknowns() into Managers
Diffstat (limited to 'moses/TranslationTask.h')
-rw-r--r-- | moses/TranslationTask.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/moses/TranslationTask.h b/moses/TranslationTask.h index fde846619..fa280a804 100644 --- a/moses/TranslationTask.h +++ b/moses/TranslationTask.h @@ -69,10 +69,7 @@ private: manager.OutputDetailedTranslationReport(m_ioWrapper.GetDetailedTranslationCollector()); - // Write unknown words file (-output-unknowns option) - if (!staticData.GetOutputUnknownsFile().empty()) { - m_ioWrapper.OutputUnknowns(manager.GetUnknownWords(), translationId); - } + manager.OutputUnknowns(m_ioWrapper.GetUnknownsCollector()); } }; |