This is a basic script that uses the IBM API's to detect Toxicity and Sentiment. This can be used for possible oter API's as well. Please refer the IBM-Docs to have a better understanding.
Refer the IBM Watson Tone Analyzer docs for detailed information.
You will require, an API KEY
, and a URL
, given once creating an IBM Account. Place the variables in an .env
Refer the IBM repositories: comments-classifier & sentiment-classifier
pip install -r requirements.txt
Note: /deprecated
folder contains all the files/ code that is deprecated and no longer work