NLP chapter 3 question

It seems that there are different errors for each version…