The number of unique word tokens in the vocabulary
(self)
| 1081 | |
| 1082 | @property |
| 1083 | def n_tokens(self): |
| 1084 | """The number of unique word tokens in the vocabulary""" |
| 1085 | return len(self.token2idx) |
| 1086 | |
| 1087 | @property |
| 1088 | def n_words(self): |
nothing calls this directly
no outgoing calls
no test coverage detected