diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-07 07:07:06 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-07 09:01:10 +0300 |
commit | 3b3f11365d89a72f34c5da65d3e40328cb91ecd5 (patch) | |
tree | 2a9bbb50284e91c04b1f41576aa69894557da254 /moses/TranslationTask.cpp | |
parent | bfac071742d8c99638a478db7bd77edae2530e0d (diff) |
delete UserMessage. Too difficult to police
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r-- | moses/TranslationTask.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/TranslationTask.cpp b/moses/TranslationTask.cpp index 16d9dd6ea..75af458ca 100644 --- a/moses/TranslationTask.cpp +++ b/moses/TranslationTask.cpp @@ -60,10 +60,12 @@ void TranslationTask::Run() switch (staticData.IsChart()) { case false: + // phrase-based manager = new Manager(*m_source); break; case true: if (staticData.UseS2TDecoder()) { + // various syntax models by Phul Williams S2TParsingAlgorithm algorithm = staticData.GetS2TParsingAlgorithm(); if (algorithm == RecursiveCYKPlus) { typedef Syntax::S2T::EagerParserCallback Callback; @@ -78,9 +80,11 @@ void TranslationTask::Run() } } else if (staticData.GetSearchAlgorithm() == ChartIncremental) { + // Ken's incremental decoding manager = new Incremental::Manager(*m_source); } else { + // original SCFG manager manager = new ChartManager(*m_source); } break; |