Intro to NLP

The lesson was uploaded as a Jupyter notebook.

If you want to follow along, make sure you have the correct packages installed and download the associated data for nltk

python -m nltk.downloader stopwords porter_test vader_lexicon tagsets punkt wordnet

python -m nltk.downloader all

Also save this text as book.txt in a place you can easily access:

If you’d like to follow along in Jupyter Notebook, do the following: