node-red-node-sentiment
A Node-RED node that uses the AFINN-165 wordlists for sentiment analysis of words.
Last updated 7 months ago by knolleary .
Apache-2.0 · Repository · Original npm · Tarball · package.json
$ cnpm install node-red-node-sentiment 
SYNC missed versions from official npm registry.

node-red-node-sentiment

A Node-RED node that scores incoming words using the AFINN-165 wordlist and attaches a sentiment.score property to the msg.

NOTE: There is also a multi-language version available - node-red-node-multilang-sentiment.

Install

This is a node that should be installed by default by Node-RED so you should not have to install it manually. If you do then run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-sentiment

Usage

Uses the AFINN-165 wordlist to attempt to assign scores to words in text.

Attaches msg.sentiment to the msg and within that msg.sentiment.score holds the score.

A score greater than zero is positive and less than zero is negative. The score typically ranges from -5 to +5, but can go higher and lower.

See the Sentiment docs here.

Current Tags

  • 0.1.6                                ...           latest (7 months ago)

7 Versions

  • 0.1.6                                ...           7 months ago
  • 0.1.5                                ...           7 months ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 29
This Month 44
Last Day 5
Last Week 22
Last Month 99
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |