MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_tokenize

Method test_tokenize

tests/test_nltk.py:6–9  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class TestNLTK(unittest.TestCase):
6 def test_tokenize(self):
7 tokens = nltk.word_tokenize("At eight o'clock")
8
9 self.assertEqual(["At", "eight", "o'clock"], tokens)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected