diff options
author | Phil Williams <philip.williams@mac.com> | 2015-02-02 18:01:59 +0300 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2015-02-02 18:01:59 +0300 |
commit | e177131a2267f372aa52853822f956e9185a3824 (patch) | |
tree | 0950f50eb6487b3350b57d35b9ecb3b832e15464 /moses/TranslationTask.cpp | |
parent | e542986ed5157059d4505d52aecb90c73bb8be74 (diff) |
Remove -s2t option (use -search-algorithm=6 instead)
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r-- | moses/TranslationTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationTask.cpp b/moses/TranslationTask.cpp index 4ae2c8456..3ff9b6b76 100644 --- a/moses/TranslationTask.cpp +++ b/moses/TranslationTask.cpp @@ -61,7 +61,7 @@ void TranslationTask::Run() if (!staticData.IsChart()) { // phrase-based manager = new Manager(*m_source); - } else if (staticData.UseS2TDecoder()) { + } else if (staticData.GetSearchAlgorithm() == SyntaxS2T) { // new-style string-to-tree decoding (ask Phil Williams) S2TParsingAlgorithm algorithm = staticData.GetS2TParsingAlgorithm(); if (algorithm == RecursiveCYKPlus) { |