From the course: Natural Language Processing in Python

Unlock this course with a free trial

Join today to access over 26,400 courses taught by industry experts.

Solution: Sentiment analysis

Solution: Sentiment analysis

“

To work on the assignments for this section, I'm going to go to the course materials, course assignment notebooks, and I'm going to make a copy of this section for assignments notebook. So I'm going to click duplicate, and then rename, and I'm going to rename this with my name. And now if I open that, I can start working on the machine learning assignments. So the first step here is to create a new NLP machine learning environment. We just walked through that in the demo a few lessons ago on creating a new environment. The main differences between this new environment and the one from the prior section is within this one, we can now open up Excel files using OpenPyXL. And we can also now do sentiment analysis using Vader sentiment. So make sure you have those two installed. If you need the code to do that, you can find them in the section for solutions notebook. Now within that environment, you're going to launch a Jupyter notebook, which we've done at this point and the next step is…

Contents