Summarizing Text Documents Using NLP

Learning Objectives

By the end of this chapter, you will able to:

  • Use Amazon Comprehend to examine text, in order to determine its primary language
  • Extract information such as entities (people or places), key phrases (noun phrases that are indicative of the content), emotional sentiments, and topics in a set of documents
  • Set up a Lambda function to process and analyze the imported text using Comprehend

This chapter describes the use of Amazon Comprehend to summarize the text documents and creating Lambda function to analyze the text.


The Amazon Comprehend service continually learns from new data from product descriptions and consumer reviews, and thus, it perpetually improves ...

Get Machine Learning with AWS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.