From the course: AI Text Summarization with Hugging Face

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

The sumy library for extractive summarization

The sumy library for extractive summarization - Hugging Face Tutorial

From the course: AI Text Summarization with Hugging Face

The sumy library for extractive summarization

In this demo, we'll see how you can perform extractive text summarization using Hugging Face. Now, extractive text summarization is a technique where we generate a summary of a longer text by selecting and extracting the most important sentences or phrases directly from the original text. So we do not generate new sentences, however, we identify and condense existing content that represents the key points using sentences from the original text. We've discussed that extractive text summarization can be performed using a variety of different techniques. Now, it turns out you can try to implement those techniques yourself, but they've already been implemented by someone out there who's interested in text summarization and has made those summarizers available to us here on GitHub. This is the GitHub repo for the Sumy module which allows automatic summarization of text content and HTML pages. Sumy is primarily available as a Python module. You should note that the author created Sumy as a…

Contents