示例#1
0
 def test_rouge_s_3(self):
     self.assertAlmostEqual(rouge_su(self.s1, self.s4), 
                            0.5999, 3)
示例#2
0
 def test_rouge_s_2(self):
     self.assertAlmostEqual(rouge_su(self.s1, self.s3), 
                            0.400, 3)