Before writing any code, it’s a good idea to get a sense of how the application is going to work. Your monitoring application will rely heavily on Amazon Comprehend, an NLP service that provides multiple machine learning models out of the box that can be used for real-time text analysis.