Question 1: Short answer
easyAI-checkedTokenizationA vocabulary class keeps every token that occurs at least min_freq times and always adds an
unknown token:
counter = collections.Counter(tokens)
self.idx_to_token = list(sorted(set(['<unk>'] + reserved_tokens + [
token for token, freq in counter.items() if freq >= min_freq])))
A word-level corpus has these counts: the 9, time 4, machine 3, traveller 3,
said 2, hour 1, glass 1. How many entries does the vocabulary have with min_freq=3 and
no reserved tokens?