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