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

Method __init__

numpy_ml/preprocessing/nlp.py:574–576  ·  view source on GitHub ↗
(self, word)

Source from the content-addressed store, hash-verified

572
573class Token:
574 def __init__(self, word):
575 self.count = 0
576 self.word = word
577
578 def __repr__(self):
579 """A string representation of the token"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected