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:
authorHieu Hoang <hieuhoang@gmail.com>2016-09-28 12:57:54 +0300
committerHieu Hoang <hieuhoang@gmail.com>2016-09-28 12:57:54 +0300
commitaeecda9a8e5611f2900c4fd58ea7d93876c32700 (patch)
tree00d014f2f3bb308b890aff07f417db7f6d5fff35
parent24521c035a5078f2833c432f7b0f156316fb7ae1 (diff)
Less debugging output
-rw-r--r--misc/1-1-Extraction.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/1-1-Extraction.cpp b/misc/1-1-Extraction.cpp
index cf3817abf..ad18b76f8 100644
--- a/misc/1-1-Extraction.cpp
+++ b/misc/1-1-Extraction.cpp
@@ -216,7 +216,9 @@ int main(int argc, char * argv[])
getWords(f[i],currF);
getWords(a[i],currA);
- cerr<<"Processing "<<i<<endl;
+ if (i % 100000 == 0) {
+ cerr<<"Processing "<<i<<endl;
+ }
constructCepts(ceptsInPhrase, sourceNullWords , targetNullWords, currA , currE.size(), currF.size());
getOneToOne(ceptsInPhrase , currF , currE, one);