Return an iterator over the tokens in the vocabulary
(self)
| 1062 | return len(self._tokens) |
| 1063 | |
| 1064 | def __iter__(self): |
| 1065 | """Return an iterator over the tokens in the vocabulary""" |
| 1066 | return iter(self._tokens) |
| 1067 | |
| 1068 | def __contains__(self, word): |
| 1069 | """Assert whether `word` is a token in the vocabulary""" |
nothing calls this directly
no outgoing calls
no test coverage detected