[nodebb-plugin-sentiment] NodeBB Sentiment Analysis Plugin
-
I had published a proof of concept of a NodeBB Sentiment Analysis Plugin, which trigger sentiment analysis when post saved. It takes the post content, send to sentiment analysis API, and return either Positive/Negative/Neutral as result.
I wondering and hoping someone can find this useful for perform sentiment analysis on the forum posts, you can freely fork the code and do your own business, like storing into another database for back end analysis or marking the post with smiley icon (happy/sad)To install the default plugin, visit https://www.npmjs.org/package/nodebb-plugin-sentiment
To fork the code, visit https://github.com/fyhao/nodebb-plugin-sentiment
Mashape API Page, visit https://www.mashape.com/fyhao/text-sentiment-analysis-methodTo test this API, you can visit this Runnable page
http://runnable.com/U80nxyBJjrp4wcOH/text-sentiment-analysis-for-node-js-and-mashape -
Haha interesting. This is definitely the most unique plugin we've ever had so far Time to make a companion auto-ban / downvote plugin if post is too negative
-
@psychobunny said:
Time to make a companion auto-ban / downvote plugin if post is too negative
"My forum is broken and I don't know what to dooo, please help me!!!"
*banned*
-
@fyhao Great plugin for analytics. I see you're feeding it into https://text-sentiment.p.mashape.com/analyze?
Can you say a bit more about which algorithm they're using? I'm a data scientist and I'd be happy to collaborate a bit on this, but my specialties are Python and R so I'd have to write the machine learning backend in one of those languages for you.