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-cmd | |
parent | 3dc30fd51a77a7f4df1a213e182f7e69fd3b076a (diff) |
Further direction removal
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/src/IOWrapper.cpp | 2 | ||||
-rw-r--r-- | moses-cmd/src/LatticeMBRGrid.cpp | 2 | ||||
-rw-r--r-- | moses-cmd/src/Main.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/moses-cmd/src/IOWrapper.cpp b/moses-cmd/src/IOWrapper.cpp index 318f44403..5fcdbab3a 100644 --- a/moses-cmd/src/IOWrapper.cpp +++ b/moses-cmd/src/IOWrapper.cpp @@ -530,7 +530,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); diff --git a/moses-cmd/src/LatticeMBRGrid.cpp b/moses-cmd/src/LatticeMBRGrid.cpp index 8d6095dde..8bd52b7d7 100644 --- a/moses-cmd/src/LatticeMBRGrid.cpp +++ b/moses-cmd/src/LatticeMBRGrid.cpp @@ -172,7 +172,7 @@ int main(int argc, char* argv[]) while(ReadInput(*ioWrapper,staticData.GetInputType(),source)) { ++lineCount; - Sentence sentence(Input); + Sentence sentence; const TranslationSystem& system = staticData.GetTranslationSystem(TranslationSystem::DEFAULT); Manager manager(*source,staticData.GetSearchAlgorithm(), &system); manager.ProcessSentence(); diff --git a/moses-cmd/src/Main.cpp b/moses-cmd/src/Main.cpp index 76bbbee20..b4f1fb08d 100644 --- a/moses-cmd/src/Main.cpp +++ b/moses-cmd/src/Main.cpp @@ -95,7 +95,7 @@ public: // shorthand for "global data" const StaticData &staticData = StaticData::Instance(); // input sentence - Sentence sentence(Input); + Sentence sentence(); // set translation system const TranslationSystem& system = staticData.GetTranslationSystem(TranslationSystem::DEFAULT); |