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/extract-main.cpp')
-rw-r--r--phrase-extract/extract-main.cpp4
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