Assert whether `word` is a token in the vocabulary
(self, word)
| 1066 | return iter(self._tokens) |
| 1067 | |
| 1068 | def __contains__(self, word): |
| 1069 | """Assert whether `word` is a token in the vocabulary""" |
| 1070 | return word in self.token2idx |
| 1071 | |
| 1072 | def __getitem__(self, key): |
| 1073 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected