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

stopword

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stopword

A module for node.js that takes in text and returns text that is stripped of stopwords

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

stopword

stopword is a node module that allows you to strip stopwords from an input text. It is useful for text analysis.

API

getStopwords

Usage:

getStopwords(language)

returns and array of stopwords for the given language.

Supported languages: en, es, fa, fr, it, ja, nl, no, pl, pt, ru, zh

removeStopwords

Usage:

removeStopwords(text[, options])

Returns a string that has had the specified stopwords removed, and the seperator normalised to a specified value.

options (optional) is an object and can contain 0 or more of the following:

stopwords: an array of stopwords

inputSeparator: a speratator in the string.split() format used to tokenise input

outputSeparator: a speratator in the string.join() format used to tokenise output

Keywords

FAQs

Package last updated on 29 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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