Return the number of tokens in the vocabulary
(self)
| 1058 | } |
| 1059 | |
| 1060 | def __len__(self): |
| 1061 | """Return the number of tokens in the vocabulary""" |
| 1062 | return len(self._tokens) |
| 1063 | |
| 1064 | def __iter__(self): |
| 1065 | """Return an iterator over the tokens in the vocabulary""" |
nothing calls this directly
no outgoing calls
no test coverage detected