Reading comprehension (RC) is the ability to read text, process it, and understand its meaning. There are two types of summarization: extractive and abstractive. Extractive summarization identifies important text and throws away the rest, leaving the passage shorter. Depending on the implementation, it can sound weird and disjointed since text is plucked from different paragraphs. Abstractive summarization is a lot more difficult and it requires the model to understand the text and language in more depth. In the following recipe, we will implement a text summarization algorithm with the TensorFlow framework.
Summarizing text
How to do it...
- We start by loading all the necessary libraries, as follows:
import numpy...