TheRensselaerIDEA / twitter-nlp

Data Analytics on Twitter with Natural Language Processing
MIT License
17 stars 7 forks source link

Bert Sentiment Scoring Script #53

Open shwehtom89 opened 3 years ago

shwehtom89 commented 3 years ago

The following script adds sentiment scoring using BERT to elasticsearch.

For each item that is score, the confidences for each class are included alongside it's classification in text. This PR builds on top of the vader sentiment job and updates the elasticsearch query to score documents that either (do not have vader score OR do not bert score) AND is not a reply tweet.