def test_isDashEquivalent_false_back(self): hyp = "touch interactive" ref = "touch-interactive-" actual = HypothesisNormalizer.isDashEquivalent(hyp, ref) self.assertFalse(actual)
def test_isDashEquivalent(self): hyp = "touch interactive" ref = "touch-interactive" actual = HypothesisNormalizer.isDashEquivalent(hyp, ref) self.assertTrue(actual)