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

sentiment-ptbr

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sentiment-ptbr - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json

@@ -5,3 +5,3 @@ {

"description": "AFINN-based sentiment analysis for Node.js PS: modified by Aristeu Roriz for test use only",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/aristeuroriz/sentiment-ptbr",

@@ -8,0 +8,0 @@ "repository": {

@@ -25,3 +25,3 @@ ## sentiment (pt-BR)

var r2 = sentiment('Gatos são muito legais!');
var r2 = sentiment('Gatos são incríveis!');
console.dir(r2); // Score: 4, Comparative: 1

@@ -35,7 +35,7 @@ ```

var result = sentiment('Gatos são muito legais!', {
'cats': 5,
'amazing': 2
var result = sentiment('Gatos são incríveis!', {
'gatos': 5,
'incríveis': 2
});
console.dir(result); // Score: 7, Comparative: 1.75
```
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