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