(self, min_freq=None, max_count=None)
| 85 | |
| 86 | class VocabBuilder: |
| 87 | def __init__(self, min_freq=None, max_count=None): |
| 88 | self.word_freq = collections.Counter() |
| 89 | self.min_freq = min_freq |
| 90 | self.max_count = max_count |
| 91 | |
| 92 | def add_word(self, word, count=1): |
| 93 | self.word_freq[word] += count |
nothing calls this directly
no outgoing calls
no test coverage detected