Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Williams <philip.williams@mac.com>2015-02-02 18:01:59 +0300
committerPhil Williams <philip.williams@mac.com>2015-02-02 18:01:59 +0300
commite177131a2267f372aa52853822f956e9185a3824 (patch)
tree0950f50eb6487b3350b57d35b9ecb3b832e15464 /moses/TranslationTask.cpp
parente542986ed5157059d4505d52aecb90c73bb8be74 (diff)
Remove -s2t option (use -search-algorithm=6 instead)
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r--moses/TranslationTask.cpp2
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) {