Comparing version 6.5.1 to 6.6.0
@@ -33,3 +33,3 @@ | ||
export type PatternLanguageType = 'pattern' | ||
export type PatternLanguage = 'Dutch' | 'Italian' | 'English' | 'French' | ||
export type PatternLanguage = 'Dutch' | 'Italian' | 'English' | 'French' | 'German' | ||
@@ -36,0 +36,0 @@ export declare class SentimentAnalyzer { |
@@ -47,2 +47,3 @@ /* | ||
const frenchPatternVoca = require('./French/pattern-sentiment-fr.json') | ||
const germanPatternVoca = require('./German/pattern-sentiment-de.json') | ||
@@ -54,2 +55,3 @@ // Negations | ||
const portugueseNegations = require('./Portuguese/negations_pt.json').words | ||
const germanNegations = require('./German/negations_de.json').words | ||
@@ -77,3 +79,4 @@ // Mapping from type of vocabulary to language to vocabulary | ||
English: [englishPatternVoca, englishNegations], | ||
French: [frenchPatternVoca, null] | ||
French: [frenchPatternVoca, null], | ||
German: [germanPatternVoca, germanNegations] | ||
} | ||
@@ -80,0 +83,0 @@ } |
{ | ||
"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": "6.5.1", | ||
"version": "6.6.0", | ||
"homepage": "https://github.com/NaturalNode/natural", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13786743
224
792964