Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Hands-On Natural Language Processing with Python

You're reading from   Hands-On Natural Language Processing with Python A practical guide to applying deep learning architectures to your NLP applications

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789139495
Length 312 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Rajalingappaa Shanmugamani Rajalingappaa Shanmugamani
Author Profile Icon Rajalingappaa Shanmugamani
Rajalingappaa Shanmugamani
Rajesh Arumugam Rajesh Arumugam
Author Profile Icon Rajesh Arumugam
Rajesh Arumugam
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Title Page
Packt Upsell
Foreword
Contributors
Preface
1. Getting Started 2. Text Classification and POS Tagging Using NLTK FREE CHAPTER 3. Deep Learning and TensorFlow 4. Semantic Embedding Using Shallow Models 5. Text Classification Using LSTM 6. Searching and DeDuplicating Using CNNs 7. Named Entity Recognition Using Character LSTM 8. Text Generation and Summarization Using GRUs 9. Question-Answering and Chatbots Using Memory Networks 10. Machine Translation Using the Attention-Based Model 11. Speech Recognition Using DeepSpeech 12. Text-to-Speech Using Tacotron 13. Deploying Trained Models 1. Other Books You May Enjoy Index

Text summarization


Text summarization is the process of transforming an input document into a short summary, to help us understand the main content of the document in a short amount of time. Fundamentally, there are two types of summarization. One of them is extractive summarization and the other is abstractive summarization. We will briefly look at descriptions of these types of summaries.

Extractive summarization

In this type of summarization, the important phrases or keywords in a document are extracted and concatenated to get a short summary.

The main advantage is that it is simple and robust, since the extracted text is taken directly from the document. The disadvantage of this method is that we may not be able to obtain new paraphrasing, which produces clarity in the summary. In the next section, we will briefly look at extractive summarization using gensim.

Summarization using gensim

Gensim has a summarizer that is based on an improved version of the TextRank algorithm by Rada Mihalcea...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images