Given a reference—prediction pair, find the Wordnet synonym match. Print out the result of the wordnetsyn_match() call on the provided reference—prediction pair.
METEOR
WordNet synonym match
Report a typo
Write a program in Python 3
# Your imports here
from nltk.translate.meteor_score import wordnetsyn_match
reference = "Adding additional reference translations will increase the BLEU score"
prediction = "Supplying extra reference translations will increment the BLEU score"
# Your code here
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.