Comparing version 0.1.4 to 0.1.5
@@ -8,3 +8,5 @@ const defaultStopwords = require('./stopwords_en.js').words | ||
} | ||
return tokens.filter(value => stopwords.indexOf(value.toLowerCase()) === -1); | ||
return tokens.filter(function (value) { | ||
return stopwords.indexOf(value.toLowerCase()) === -1 | ||
}) | ||
} | ||
@@ -11,0 +13,0 @@ |
{ | ||
"name": "stopword", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A module for node.js that takes in text and returns text that is stripped of stopwords", | ||
@@ -5,0 +5,0 @@ "main": "lib/stopword.js", |
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
64656
963