Return all tokens that occur `k` times in the corpus
(self, k)
| 1099 | return self.counts.most_common()[:n] |
| 1100 | |
| 1101 | def words_with_count(self, k): |
| 1102 | """Return all tokens that occur `k` times in the corpus""" |
| 1103 | return [w for w, c in self.counts.items() if c == k] |
| 1104 | |
| 1105 | def filter(self, words, unk=True): # noqa: A003 |
| 1106 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected