From cec03c949ecaefbb34038df18e4d477317ee8a40 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Sun, 4 Jan 2015 15:32:44 +0530 Subject: merge RunPb and RunChart --- moses-cmd/Main.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'moses-cmd') 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 -- cgit v1.2.3