Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/giza-pp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'GIZA++-v2/main.cpp')
-rw-r--r--GIZA++-v2/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/GIZA++-v2/main.cpp b/GIZA++-v2/main.cpp
index d1b588f..7a672e6 100644
--- a/GIZA++-v2/main.cpp
+++ b/GIZA++-v2/main.cpp
@@ -704,12 +704,11 @@ int main(int argc, char* argv[])
printGIZAPars(cout);
int a=-1;
- double errors=0.0;
if( OldADBACKOFF!=0 )
cerr << "WARNING: Parameter -adBackOff does not exist further; use CompactADTable instead.\n";
if( MAX_SENTENCE_LENGTH > MAX_SENTENCE_LENGTH_ALLOWED )
cerr << "ERROR: MAX_SENTENCE_LENGTH is too big " << MAX_SENTENCE_LENGTH << " > " << MAX_SENTENCE_LENGTH_ALLOWED << '\n';
- errors=StartTraining(a);
+ StartTraining(a);
fn = time(NULL); // finish time
cout << '\n' << "Entire Training took: " << difftime(fn, st1) << " seconds\n";
cout << "Program Finished at: "<< ctime(&fn) << '\n';