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

Class TestFastText

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

Source from the content-addressed store, hash-verified

3import fasttext
4
5class TestFastText(unittest.TestCase):
6 def test_tokenize(self):
7 tokens = fasttext.FastText.tokenize("Hello World")
8
9 self.assertEqual(["Hello", "World"], tokens)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected