Calculate the METEOR score for the given prediction—reference pair. Recall should be weighted 7 times more than precision. Keep other parameters to their default values. Print out the obtained score, rounded up to the 3rd decimal.
METEOR
Recall importance
Report a typo
Write a program in Python 3
#Your imports here
reference = "The pine forest was a sea of swaying trees."
prediction = "The tall pine trees swayed in the breeze."
#Your code here
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.