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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'phrase-extract/consolidate-main.cpp')
-rw-r--r--phrase-extract/consolidate-main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/phrase-extract/consolidate-main.cpp b/phrase-extract/consolidate-main.cpp
index 5964bf686..732185eb3 100644
--- a/phrase-extract/consolidate-main.cpp
+++ b/phrase-extract/consolidate-main.cpp
@@ -259,6 +259,7 @@ void processFiles( const std::string& fileNameDirect,
// loop through all extracted phrase translations
int i=0;
while(true) {
+ // Print progress dots to stderr.
i++;
if (i%100000 == 0) std::cerr << "." << std::flush;
@@ -436,6 +437,9 @@ void processFiles( const std::string& fileNameDirect,
fileDirect.Close();
fileIndirect.Close();
fileConsolidated.Close();
+
+ // We've been printing progress dots to stderr. End the line.
+ std::cerr << std::endl;
}