def testPrefix(self): stop_words = [u'很多', u'每个'] for w in stop_words: self.assertTrue(is_stop_word(w))
def testPostfix(self): stop_words = [u'吃的', u'图中'] for w in stop_words: self.assertTrue(is_stop_word(w))