diff options
Diffstat (limited to 'moses-cmd/Main.cpp')
-rw-r--r-- | moses-cmd/Main.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/moses-cmd/Main.cpp b/moses-cmd/Main.cpp index 03b3a5054..b22a4f695 100644 --- a/moses-cmd/Main.cpp +++ b/moses-cmd/Main.cpp @@ -154,15 +154,7 @@ int main(int argc, char** argv) FeatureFunction::CallChangeSource(source); // set up task of translating one sentence - TranslationTask* task; - if (staticData.IsChart()) { - // scfg - task = new TranslationTask(source, *ioWrapper, 2); - } - else { - // pb - task = new TranslationTask(source, *ioWrapper, 1); - } + TranslationTask* task = new TranslationTask(source, *ioWrapper); // execute task #ifdef WITH_THREADS |