A form of natural language processing can be referred to as Sentiment analysis, which can be thought of as a way to get a sense of the attitude of a speaker. In a node.js environment this is an npm package called sentiment that can be used to do just this. It is very easy to use, just feed it some text, and a score can be retrieve that will help give an idea of what the emotional impact of that text is.
It is possible to have some fun with this one as it seems to work kind of well with the task of generating some kind of numerical score for some given text that is an inaction of positive or negative emotion.
For example consider this example.
As you can see it seems to work pretty well oddly enough. So far any text that is hateful, or insulting ends up getting a negative score, while kind, and supportive text gets a positive score.
Its easy to see why this package can be fun to play with for a while. Part of me wants to copy and past peoples comments into it can just start responding to them with a score just for the fun of it. It also goes without saying that this can also have practical uses as well, such as maybe auto flagging a comment if it actually gets a score that is low enough.