Important note
It is a best practice not to overprovision your function’s timeout settings. Always understand your code performance and set a function timeout accordingly. Overprovisioning a function timeout results in Lambda functions running longer, causing unexpected costs. If you are using asynchronous API calls in your Lambda function, then it is good to write them into SNS topics on success and trigger another Lambda function from that. If it needs human intervention, then it is suggested that you use AWS Step Functions.
In this section, you learned and applied Amazon Transcribe to convert speech into text. In the next section, you will learn about one of the most powerful AWS AI services you can use to get the maximum amount of insight from our text data.
This service helps you extract insights from unstructured text. Unstructured text information is growing exponentially. A few data source examples are as follows:
Now, the question is, what can you do with this data? How can you analyze it and extract any value out of it? The answer is Amazon Comprehend, which is used to get insights from unstructured data.
Some common uses of Amazon Comprehend include the following:
Next, you’ll explore the benefits of Amazon Comprehend.
Some of the advantages of using Comprehend can be seen in the following image:
Figure 8.14 – A block diagram showing Amazon Comprehend’s capabilities
Let’s look at these in more detail:
Next, you’ll get hands-on with Amazon Comprehend.