Question 1
Consider the following dictionary with the number of word occurrences in a corpus:
wo = { "deeper": 5, "keener": 6, "sweeter": 7,}Note: Append identifier/special symbol </w> to each word at the end.
You will be learning a byte pair encoding, answer the given subquestions in that context:
How many tokens are there in the initial vocabulary?