Package Exports
- stemmer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stemmer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
stemmer
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
stmr.c
— C APIstmr
— C CLIlancaster-stemmer
— Lancaster stemming algorithmdouble-metaphone
— Double Metaphone implementationsoundex-code
— Fast Soundex implementationdice-coefficient
— Sørensen–Dice coefficientlevenshtein-edit-distance
— Levenshtein edit distancesyllable
— Syllable count in an English word