diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-07-16 11:51:16 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-07-16 11:51:16 +0300 |
commit | 0ca2bcb28d2bd0658a252bcfafe0820bc1e49660 (patch) | |
tree | b090d2e632743194978020c99e7c69998d94ffa2 /phrase-extract/extract-main.cpp | |
parent | 66ecf98cf7b5bd74a8ad187c59e5679a1f1dee04 (diff) |
End line after printing progress dots to stderr.
Diffstat (limited to 'phrase-extract/extract-main.cpp')
-rw-r--r-- | phrase-extract/extract-main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phrase-extract/extract-main.cpp b/phrase-extract/extract-main.cpp index 70d4cad35..328a33a25 100644 --- a/phrase-extract/extract-main.cpp +++ b/phrase-extract/extract-main.cpp @@ -283,6 +283,7 @@ int main(int argc, char* argv[]) string englishString, foreignString, alignmentString, weightString; while(getline(*eFileP, englishString)) { + // Print progress dots to stderr. i++; if (i%10000 == 0) cerr << "." << flush; @@ -337,6 +338,9 @@ int main(int argc, char* argv[]) extractFileContextInv.Close(); } } + + // We've been printing progress dots to stderr. End the line. + cerr << endl; } namespace MosesTraining |