In this chapter, you learned how Comprehend's DetectDominantLanguage method is structured, and how to pass in both strings and a list of strings. You learned how to extract entities, sentiments, key phrases, and topics, which provide the data for complex NLP processing. This allows Amazon Comprehend to become more efficient, by automating text analysis upon a text document that's been uploaded to S3.
Overall, the culmination of these independent functions provides the foundation for building complex machine learning-based NLP applications (for example, Siri, Alexa, and so on). Knowing how and why the individual functions operate will allow you to build your own AWS-based NLP applications.
In the next chapter, we will explore Topic Modeling and perform theme extraction.