MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / tokens

Method tokens

numpy_ml/preprocessing/nlp.py:506–508  ·  view source on GitHub ↗

A list the unique tokens in `text`

(self)

Source from the content-addressed store, hash-verified

504
505 @property
506 def tokens(self):
507 """A list the unique tokens in `text`"""
508 return list(self._item2code.keys())
509
510 @property
511 def codes(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected