diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-02-24 23:32:32 +0300 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-02-24 23:32:32 +0300 |
commit | 62b4741de0fb7d7285377bcb2699b9549e2c2b20 (patch) | |
tree | 835a386e35ee4349174a101666581858d7b76bf4 /moses-cmd | |
parent | b361817067fa3281aa4dbafb15ce55cef345171f (diff) |
move calling InitializeBeforeSentenceProcessing() & CleanUpAfterSentenceProcessing() in Manager class
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1241 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/src/Main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/moses-cmd/src/Main.cpp b/moses-cmd/src/Main.cpp index 1bf0c15d9..7e2508f4b 100644 --- a/moses-cmd/src/Main.cpp +++ b/moses-cmd/src/Main.cpp @@ -123,7 +123,6 @@ int main(int argc, char* argv[]) VERBOSE(2,"\nTRANSLATING(" << ++lineCount << "): " << *source); - staticData.InitializeBeforeSentenceProcessing(*source); Manager manager(*source); manager.ProcessSentence(); ioStream->OutputBestHypo(manager.GetBestHypothesis(), source->GetTranslationId(), @@ -151,9 +150,7 @@ int main(int argc, char* argv[]) IFVERBOSE(2) { PrintUserTime("Sentence Decoding Time:"); } - manager.CalcDecoderStatistics(); - staticData.CleanUpAfterSentenceProcessing(); - + manager.CalcDecoderStatistics(); } delete ioStream; |