cyliu/plda

Small bug.

Opened this issue · 1 comments

I think in document.cc, function

bool LDADocument::WordOccurrenceIterator::Done()

returns true at the first occurrence of the last word, but that word could have 
multiple occurrences. For example, if the last word "zebra" has 3 occurrences, 
the iterator will not get to the last 2.

Original issue reported on code.google.com by daiwe...@gmail.com on 26 Jan 2013 at 9:27

Sorry there's no problem in the implementation. I understand now.

Original comment by daiwe...@gmail.com on 26 Jan 2013 at 9:38