LDA4j icon indicating copy to clipboard operation
LDA4j copied to clipboard

translate函数中limit过大会出问题

Open citymonkeymao opened this issue 10 years ago • 1 comments

ldautil第41行应改为for (int i = 0; i < limit && iterator.hasNext() ; ++i),否则limit超过iterator的大小的时候会报错

citymonkeymao avatar Dec 23 '15 09:12 citymonkeymao

我遇到translate提示,“java.util.NoSuchElementException”,应该就是你所说的问题。

syw2014 avatar Feb 20 '17 01:02 syw2014