diff options
author | Barry Haddow <barry.haddow@gmail.com> | 2011-11-21 15:14:05 +0400 |
---|---|---|
committer | Barry Haddow <barry.haddow@gmail.com> | 2011-11-21 15:14:05 +0400 |
commit | 5baa595a91ff41e26c61f83ffafa77046e432843 (patch) | |
tree | b97518cf913be1276c9de54cfccd41387836337f /moses-chart-cmd | |
parent | 3dc30fd51a77a7f4df1a213e182f7e69fd3b076a (diff) |
Further direction removal
Diffstat (limited to 'moses-chart-cmd')
-rw-r--r-- | moses-chart-cmd/src/Main.cpp | 4 |
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"); |