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

github.com/moses-smt/nplm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Sennrich <rico.sennrich@gmx.ch>2015-02-11 17:41:41 +0300
committerRico Sennrich <rico.sennrich@gmx.ch>2015-02-11 17:41:41 +0300
commit02a3683b9f8ec536b5074a53cc2e0ec04dd3b7eb (patch)
tree2486e0d5a8fd00521fb5bbfd164295536ac6fbd7
parent8a0847e816bef992a161349762618fd90622a895 (diff)
be less verbose
-rw-r--r--src/createMmap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/createMmap.cpp b/src/createMmap.cpp
index f5f674c..408d5fe 100644
--- a/src/createMmap.cpp
+++ b/src/createMmap.cpp
@@ -32,7 +32,7 @@ data_size_t getNumLines(const string &filename) {
data_size_t lines = 0;
std::string line;
while (std::getline(training, line)) {
- if ((lines%100000)==0) {
+ if ((lines%10000000)==0) {
std::cerr<<lines<<"...";
}
++lines;
@@ -73,7 +73,7 @@ void writeMmap(const string &filename_input,
std::vector<std::string> ngram;
while (std::getline(training, line)) {
- if ((i%100000)==0) {
+ if ((i%10000000)==0) {
std::cerr<<i<<"...";
}