Beispiel #1
0
 def test_tokenizer(self):
     sb = SimpleBayes()
     result = sb.tokenizer('hello world')
     self.assertEqual(result, ['hello', 'world'])
Beispiel #2
0
 def test_tokenizer(self):
     sb = SimpleBayes()
     result = sb.tokenizer('hello world')
     self.assertEqual(result, ['hello', 'world'])