The code in the repo, runs to detect entities from a sample text. Amazon Comprehend's NLP model is called through the Comprehend API method. The code is written in Node.js.
Things to do:
Add 3 environmental variables for the code to run. The secret credentials can be found in your AWS Account
- AWS_ACCESS_KEY_ID
- AWS_REGION
- AWS_SECRET_ACCESS_KEY
There are more Comprehend API METHODS, and they can be found in Amazon's Javascript SDK Documentation
A video tutorial on this can be found on Youtube