Socket
Socket
Sign inDemoInstall

stopword

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stopword - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

lib/stopwords_tl.js

3

lib/stopword.js

@@ -1,2 +0,2 @@

var defaultStopwords = require('./stopwords_en.js').words
const defaultStopwords = require('./stopwords_en.js').words

@@ -64,2 +64,3 @@ exports.removeStopwords = function (tokens, stopwords) {

exports.th = require('./stopwords_th.js').words
exports.tl = require('./stopwords_tl.js').words
exports.tr = require('./stopwords_tr.js').words

@@ -66,0 +67,0 @@ exports.vi = require('./stopwords_vi.js').words

{
"name": "stopword",
"version": "1.0.9",
"description": "A module for node.js and the browser that takes in text and returns text that is stripped of stopwords. Has pre-defined stopword lists for 54 languages and also takes lists with custom stopwords as input.",
"version": "1.0.10",
"description": "A module for node.js and the browser that takes in text and returns text that is stripped of stopwords. Has pre-defined stopword lists for 55 languages and also takes lists with custom stopwords as input.",
"main": "lib/stopword.js",

@@ -31,3 +31,3 @@ "scripts": {

"stream-browserify": "3.0.0",
"tape": "^5.2.2",
"tape": "^5.2.2f",
"tape-run": "^9.0.0",

@@ -34,0 +34,0 @@ "webpack": "^5.46.0",

@@ -96,3 +96,3 @@ # stopword

Arrays of stopwords for the following 54 languages are supplied:
Arrays of stopwords for the following 55 languages are supplied:

@@ -150,2 +150,3 @@ * `af` - Afrikaans

* `th` - Thai
* `tl` - Tagalog (Filipino)
* `tr` - Turkish

@@ -168,2 +169,4 @@ * `vi` - Vietnamese

## Contributions
Most of this work is from other projects and people, and wouldn't be possible without them. Thanks to among others the [stopwords-iso](https://github.com/stopwords-iso) project and the [more-stoplist](https://github.com/dohliam/more-stoplists) project. And thanks for all your code input: @arthurdenner, @micalevisk, @fabric-io-rodrigues, @behzadmoradi, @guysaar223, @ConnorKrammer, @GreXLin85, @nanopx and @virtual!

@@ -170,0 +173,0 @@ [license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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