Closed pebbe closed 11 years ago
And if corpus is of type CompactCorpusWriter, the overwrite flag is ignored completely.
CompactCorpusWriter doesn't have in-place updates (which would be difficult) anyway, so the flag doesn't apply there.
I'll look at the DbCorpusWriter case.
Edit: misread.
CorpusWriter.write(CorpusReader const &corpus, ...) overwrites existing entries, even is corpus was opened with overwrite=False.