diff options
Diffstat (limited to 'phrase-extract/score-main.cpp')
-rw-r--r-- | phrase-extract/score-main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phrase-extract/score-main.cpp b/phrase-extract/score-main.cpp index cf28f90b9..444087b2d 100644 --- a/phrase-extract/score-main.cpp +++ b/phrase-extract/score-main.cpp @@ -359,6 +359,7 @@ int main(int argc, char* argv[]) while ( getline(extractFile, line) ) { + // Print progress dots to stderr. if ( ++i % 100000 == 0 ) { std::cerr << "." << std::flush; } @@ -450,6 +451,9 @@ int main(int argc, char* argv[]) } + // We've been printing progress dots to stderr. End the line. + std::cerr << std::endl; + processPhrasePairs( phrasePairsWithSameSource, *phraseTableFile, featureManager, maybeLogProb ); for ( std::vector< ExtractionPhrasePair* >::const_iterator iter=phrasePairsWithSameSource.begin(); iter!=phrasePairsWithSameSource.end(); ++iter) { |