@property
def vocab_size(self):
    'Return the number of items in vocabulary.\n\n        Since we use len(word_freq_dict) as the default index for UKN in\n        the index_table, we have to add 1 to the length\n        '
    return (len(self._words) + 1)
Return the number of items in vocabulary.

Since we use len(word_freq_dict) as the default index for UKN in
the index_table, we have to add 1 to the length
@property
def vocab_size(self):
    'Return the number of items in vocabulary.\n\n        Since we use len(word_freq_dict) as the default index for UKN in\n        the index_table, we have to add 1 to the length\n        '
    return (len(self._words) + 1)