![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
sentiment-multilang
Advanced tools
Sentiment is a Node.js module that uses the AFINN-111 wordlist to perform sentiment analysis on arbitrary blocks of input text.
It supports the following languages: English, French, Spanish, and Italian. For languages other than english, it uses a locale transposition of AFINN-111 wordlist. The wordlist can be extended adding words too.
npm install sentiment-multilang
// Require the sentiment-multilang module
var sentiment = require('sentiment-multilang');
// Use the module to get sentiment from texts.
var r1 = sentiment('Cats are stupid.','en');
console.dir(r1); // Vote: 'negative'
var r2 = sentiment('Cats are totally amazing!','en');
console.dir(r2); // Vote: 'positive'
var r3 = sentiment('I gatti sono stupidi.','it');
console.dir(r3); // Vote: 'negative'
var r4 = sentiment('I gatti sono totalmente stupendi!','it');
console.dir(r4); // Vote: 'positive'
mocha test
FAQs
Multilanguage AFINN-based sentiment analysis for Node.js
The npm package sentiment-multilang receives a total of 0 weekly downloads. As such, sentiment-multilang popularity was classified as not popular.
We found that sentiment-multilang demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.