Well, i'm not able to make backend functions for this extension, so in case someone want to fork or work on this, i will release the frontend part to all...

Discussion Posts Sentiment analyzer

License Latest Stable Version Total Downloads

A Flarum extension. Analyze discussion posts and give to each posts a sentiment score

score

Installation

Install with composer:

composer require justoverclock/discussion-sentiment-analyzer:"*"

Updating

composer update justoverclock/discussion-sentiment-analyzer:"*"
php flarum cache:clear

Links

Add custom words and score:

Is possible to customize words array with specific score. Just simply add:

var options = {
  extras: {
    'cats': 5,
    'amazing': 2
  }
};

    if anyone spend some time on the array of words can be adapted to all arguments, tech, medicine, news and similar

    I wonder what happens to a forum if you reverse score for good and bad words.
    Good: negative score
    Bad: positive score

    5 months later