Question 17
Consider the following corpus consisting of 4 words (ignore spaces and punctuation). there is no spoon The vocabulary is constructed using the whole words in this corpus and the individual characters in this corpus. The vocabulary should now have 13 tokens. Use this vocabulary for the given subquestions.
Using the vocabulary constructed, two new continuous strings: "prison" and "rhino" are to be segmented. Which of the following proposed segmentations are valid?
prison
p, r, is, o, n
p, r, is, on
r, h, i, n, o
r, h, i, no