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:
authorBarry Haddow <barry.haddow@gmail.com>2011-11-21 15:14:05 +0400
committerBarry Haddow <barry.haddow@gmail.com>2011-11-21 15:14:05 +0400
commit5baa595a91ff41e26c61f83ffafa77046e432843 (patch)
treeb97518cf913be1276c9de54cfccd41387836337f /moses-chart-cmd
parent3dc30fd51a77a7f4df1a213e182f7e69fd3b076a (diff)
Further direction removal
Diffstat (limited to 'moses-chart-cmd')
-rw-r--r--moses-chart-cmd/src/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses-chart-cmd/src/Main.cpp b/moses-chart-cmd/src/Main.cpp
index 03c8105ee..50f2eaddb 100644
--- a/moses-chart-cmd/src/Main.cpp
+++ b/moses-chart-cmd/src/Main.cpp
@@ -147,7 +147,7 @@ bool ReadInput(IOWrapper &ioWrapper, InputTypeEnum inputType, InputType*& source
delete source;
switch(inputType) {
case SentenceInput:
- source = ioWrapper.GetInput(new Sentence(Input));
+ source = ioWrapper.GetInput(new Sentence);
break;
case ConfusionNetworkInput:
source = ioWrapper.GetInput(new ConfusionNet);
@@ -156,7 +156,7 @@ bool ReadInput(IOWrapper &ioWrapper, InputTypeEnum inputType, InputType*& source
source = ioWrapper.GetInput(new WordLattice);
break;
case TreeInputType:
- source = ioWrapper.GetInput(new TreeInput(Input));
+ source = ioWrapper.GetInput(new TreeInput);
break;
default:
TRACE_ERR("Unknown input type: " << inputType << "\n");