New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

natural

Package Overview
Dependencies
Maintainers
3
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

natural - npm Package Compare versions

Comparing version 5.1.13 to 5.2.0

lib/natural/sentiment/Portuguese/afinnShortSortedPortuguese.json

5

lib/natural/sentiment/SentimentAnalyzer.js

@@ -28,2 +28,3 @@ /*

const spanishAfinnVoca = require('./Spanish/afinnShortSortedSpanish.json')
const portugueseAfinnVoca = require('./Portuguese/afinnShortSortedPortuguese.json')

@@ -47,2 +48,3 @@ // Senticon

const dutchNegations = require('./Dutch/negations_du.json').words
const portugueseNegations = require('./Portuguese/negations_pt.json').words

@@ -53,3 +55,4 @@ // Mapping from type of vocabulary to language to vocabulary

English: [englishAfinnVoca, englishNegations],
Spanish: [spanishAfinnVoca, spanishNegations]
Spanish: [spanishAfinnVoca, spanishNegations],
Portuguese: [portugueseAfinnVoca, portugueseNegations]
},

@@ -56,0 +59,0 @@ senticon: {

2

package.json
{
"name": "natural",
"description": "General natural language (tokenizing, stemming (English, Russian, Spanish), part-of-speech tagging, sentiment analysis, classification, inflection, phonetics, tfidf, WordNet, jaro-winkler, Levenshtein distance, Dice's Coefficient) facilities for node.",
"version": "5.1.13",
"version": "5.2.0",
"homepage": "https://github.com/NaturalNode/natural",

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

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