-
Notifications
You must be signed in to change notification settings - Fork 718
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
corpus_bleu() got an unexpected keyword argument 'emulate_multibleu' #19
Comments
Thank you! Thanks for the heads-up, I'm probably using an older version. From a cursory look, it appears what was previously I vaguely remember I tried the smoothing functions but maybe I wasn't too sure that they were needed. I ended up just setting the |
I think they make it default here: nltk/nltk@764dc8f and comment: |
Merged, thanks. |
Just to link to the current signature from the official docs: nltk.translate.bleu_score.corpus_bleu Below is a contrived example borrowed from the docs:
So, as we can see from this call, the |
'emulate_multibleu' seems to be deprecated according to Removed
emulate_multibleu
andbackoff
paramsDo you have any suggestions for achieving the same performance? Have you tried using 'smoothing_function' which seems to be a replacement for 'emulate_multibleu'?
Huge thanks for an amazing repository!
The text was updated successfully, but these errors were encountered: