Need private packages and team management tools?Check out npm Teams »

stemmer

1.0.5 • Public • Published

stemmer

Build Coverage Downloads Size

Porter stemming algorithm.

Install

npm:

npm install stemmer

API

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

CLI

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

6,109

Version

1.0.5

License

MIT

Unpacked Size

10.4 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar