示例#1
0
 def test_isDashEquivalent_false_back(self):
     hyp = "touch interactive"
     ref = "touch-interactive-"
     actual = HypothesisNormalizer.isDashEquivalent(hyp, ref)
     self.assertFalse(actual)
示例#2
0
 def test_isDashEquivalent(self):
     hyp = "touch interactive"
     ref = "touch-interactive"
     actual = HypothesisNormalizer.isDashEquivalent(hyp, ref)
     self.assertTrue(actual)