chapter eight
8 Sentiment Analysis with a Data-Driven Approach
This chapter covers
- Implementation of improved algorithms for sentiment analysis, including data-driven approaches
- Introduction of several machine learning practices and techniques with
sklearn - Further application of linguistic pipeline and linguistic concepts with
spaCy, as well as combined use ofspaCyandNLTKresources
In the previous chapter you started looking into sentiment analysis and implemented your first sentiment analyzer using a lexicon-based approach. Recall that sentiment analysis is concerned with the automated detection of sentiment (usually along two dimensions of positive and negative sentiments) for a piece of text. It is a popular task to apply to such opinionated texts as, for example, reviews on movies, restaurants, products and services. A good sentiment analyzer may help save the user a lot of time!