Chapter 5: Getting Started with Information Extraction

In this chapter, we will cover the basics of information extraction. We will start with extracting emails and URLs from job announcements. Then we will use an algorithm called the Levenshtein distance to find similar strings. Next, we will use spaCy to find named entities in text, and later we will train our own named entity recognition (NER) model in spaCy. We will then do basic sentiment analysis, and finally, we will train two custom sentiment analysis models.

You will learn how to use existing tools and train your own models for information extraction tasks.

We will cover the following recipes in this chapter:

  • Using regular expressions
  • Finding similar strings: the Levenshtein distance ...

Get Python Natural Language Processing Cookbook 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.