I am taking NLP course and trying to understand the codes provided in the book. I am trying to run it with Python 3 in Jupyter and got the unexpected result which is a list of o