-
Notifications
You must be signed in to change notification settings - Fork 3
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
problems with training #3
Comments
Oh dear, this code was written with something closer to Scala 7 and Java 6, some odd 6 years ago. I'm not sure I'm in a position to support it anymore. Scala especially is notorious for making backwards-incompatible changes, meaning the code may well behave completely differently now than it did at writing. But, to the best of my recollection:
|
I think there must be something wrong. I will check the code again to see what I can do. |
My name is shuwenjian .I like yellow T-shirts and blue trousers.my favourite istennis. I lost a ball. I hope you can help me find it.thinks!l want to is wangjia make friend |
I made some minus changes to make these codes compile under Scala 12 and Java 8. When try to retrain the english Interpretation model, I do meet some problems:
InterpretationTask.filterCorrect
,if
correct
is an empty list,maxBy
on an empty list will cause an exception.Will
correct
be empty here? For the moment, I add some code, ifcorrect
is empty, an empty iterator will be returned directly.Any kind of help will be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: