diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-10 14:01:56 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-10 14:01:56 +0300 |
commit | fad3ef687a2ed3c40c6da5e9909a9576cb5cb3a3 (patch) | |
tree | 5d283c6929bf9ec2e702e5837d247dd7692b5beb /moses/TranslationTask.h | |
parent | a4c9e5f9200be7f515441b9356e0e1b03ae2b596 (diff) |
move OutputBest() to Syntax::Manager
Diffstat (limited to 'moses/TranslationTask.h')
-rw-r--r-- | moses/TranslationTask.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TranslationTask.h b/moses/TranslationTask.h index 217ffce00..0225f75b0 100644 --- a/moses/TranslationTask.h +++ b/moses/TranslationTask.h @@ -51,8 +51,8 @@ private: Syntax::S2T::Manager<Parser> manager(*m_source); manager.Decode(); // 1-best - const Syntax::SHyperedge *best = manager.GetBestSHyperedge(); - m_ioWrapper.OutputBestHypo(best, translationId); + manager.OutputBest(m_ioWrapper.GetSingleBestOutputCollector()); + // n-best manager.OutputNBest(m_ioWrapper.GetNBestOutputCollector()); |