Re:Show HN: Visualize how HN/Reddit talk about your company ...
by uberneo on Wednesday November 20, 2019 @07:14AM
(#21583187)
This looks really great with such a simple UI.last year I tried to do a realtime sentiment analysis on twitter messages using TextBlob.It was fast but not very accurate. Can you suggest any other library which might works fast enough on realtime messages.
Re:Show HN: Visualize how HN/Reddit talk about your company ...
by jonathanbgn on Thursday November 21, 2019 @02:25AM
(#21592086)
For inference speed I recommend a Naive Bayes model. I've tried this on Twitter messages and got near ~90% accuracy with 3-class (positive, negative, neutral).
The easiest library to do that would probably be scikit-learn with their ComplementNB class: https://scikit-learn.org/stable/modules/generated/sklearn.na...
For the data you can use the SemEval 2017 Task4-A dataset (around ~10K labeled tweets): https://github.com/cbaziotis/datastories-semeval2017-task4/t...
Re:Show HN: Visualize how HN/Reddit talk about your company ...
by guillaumec on Tuesday November 19, 2019 @09:04AM
(#21572874)
Thanks for the answer!
The back-end is just Python/Flask and I use the free Algolia and Pushshift.io APIs to source the messages from HN and Reddit (big thanks to them!)