Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translate函数中limit过大会出问题 #3

Open
citymonkeymao opened this issue Dec 23, 2015 · 1 comment
Open

translate函数中limit过大会出问题 #3

citymonkeymao opened this issue Dec 23, 2015 · 1 comment

Comments

@citymonkeymao
Copy link

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

@citymonkeymao citymonkeymao changed the title 主题-词语分布加起来不为1? translate函数中limit过大会出问题 Jan 15, 2016
@syw2014
Copy link

syw2014 commented Feb 20, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants