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.

Extractive text summarization

Extractive text summarization

In this movie, we'll discuss the basics of extractive text summarization. If you remember, we discussed that summarization models can be categorized based on the kind of output that they generate. They can be extractive models or abstractive models. Extractive models do not produce any new text when they generate the summary. They simply identify important sections of the original text and generate those sections verbatim. Extractive models work exactly as their name suggests. They depend only on the extraction of sentences from the original content. All extractive summarizers perform three basic tasks: They construct an intermediate representation of the input text which tries to capture the main aspects of the text. They then score the sentences based on the intermediate representation. And finally, once scores have been generated, they select a summary comprising of a number of sentences which have the highest scores. As you might imagine, there are several different techniques…

Contents