@kosyak it works, thanks!
[nodebb-plugin-sentiment] NodeBB Sentiment Analysis Plugin
fyhao last edited by baris
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-method
To test this API, you can visit this Runnable page
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
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!!!"
fyhao last edited by
Great. Auto Ban, auto downvote, or auto upvote.
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.