Nevertheless! Party Metaphorically
Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

stemmer

1.0.3 • Public • Published

stemmer Build Status Coverage Status

Porter stemming algorithm.

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

Related

License

MIT © Titus Wormer

install

npm i stemmer

Downloadsweekly downloads

3,131

version

1.0.3

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability