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

Class TestNLTK

tests/test_nltk.py:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import nltk
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