Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-node-sentiment

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-node-sentiment

A Node-RED node that uses the AFINN-165 wordlists for sentiment analysis of words.

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.5K
increased by59.4%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 05 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc