-
Notifications
You must be signed in to change notification settings - Fork 813
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
BLEU_SCORE weird behaviour #2224
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❓ Questions and Help
Is it normal that with standard bleu settings if an n_gram isn't in references then the score returned is 0 ?
With default settings (4 n_grams and weights = [0.025] *4)
The candidate : ['Le', 'petit', 'chat', 'moche']
For the reference : ['Le', 'petit', 'chat', 'mignon']
Get a bleu score of 0.
Due to this line in the code :
if min(clipped_counts) == 0:
return 0.0
Is this behaviour normal ?
The text was updated successfully, but these errors were encountered: