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:
authorHieu Hoang <hieuhoang@gmail.com>2015-01-04 13:02:44 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-01-04 14:00:15 +0300
commitcec03c949ecaefbb34038df18e4d477317ee8a40 (patch)
tree7719c5b7064209942e3e980fdf9979170d36940c /moses-cmd
parent0036d8bb4d08ee7f12c6ec2a25b5ce4fd7c35831 (diff)
merge RunPb and RunChart
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/Main.cpp10
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