Skip to content

Commit

Permalink
extra debug #41
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Dec 3, 2018
1 parent 02ab8a1 commit b90fb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,7 @@ void IndexedCorpus::load(std::istream *in, bool debug) {
std::cerr << "ERROR: IndexedCorpus expected " << sentence-1 << " sentence, but loaded only " << sentenceindex.size() << "!! Max size is " << sentenceindex.max_size() << std::endl;
throw InternalError();
}
if (debug) cerr << "Loaded " << sentenceindex.size() << " sentences" << endl;
if (debug) cerr << "Loaded " << sentenceindex.size() << " sentences; corpussize (bytes) = " << corpussize << endl;
patternpointer = new PatternPointer(corpus,corpussize);
}

Expand Down

0 comments on commit b90fb6d

Please sign in to comment.