File size: 297 Bytes
6551065 |
1 2 3 4 5 6 7 8 9 10 11 |
import meteor
hypo = ['this is the model generated sentence1 which seems good enough']
ref = ['this is one reference sentence for sentence1',
'this is a reference sentence for sentence2 which was generated by your model']
m = meteor.Meteor()
score = m._score(hypo[0], ref)
print(score)
|