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

stemmer

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stemmer

Porter Stemmer algorithm

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16K
increased by28.61%
Maintainers
1
Weekly downloads
 
Created
Source

stemmer Build Status Coverage Status

Porter stemming algorithm.

Check out stmr.c and stmr for a faster version, in C.

API

Install:

npm install stemmer

Use:

var stemmer = require('stemmer');

stemmer('considerations'); //=> 'consider'
stemmer('detestable'); //=> 'detest'
stemmer('vileness'); //=> 'vile'

CLI

Install:

npm install -g stemmer

Use:

Usage: stemmer [options] <words...>

Porter Stemmer algorithm

Options:

  -h, --help           output usage information
  -v, --version        output version number

Usage:

# output stems
$ stemmer considerations
# consider

# output stems from stdin
$ echo "detestable vileness" | stemmer
# detest vile

License

MIT © Titus Wormer

Keywords

FAQs

Package last updated on 18 Jul 2017

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