8 Sentiment analysis with a data-driven approach

This chapter covers

  • Implementing improved algorithms for sentiment analysis
  • Introducing several machine-learning practices and techniques with scikit-learn
  • Applying linguistic pipeline and linguistic concepts with spaCy
  • Combining use of spaCy and NLTK resources

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 ...

Get Getting Started with Natural Language Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.