stem-porter

0.0.1 • Public • Published

stem-porter

Reduce words to their stems.

This package is a JavaScript implementation of the Porter2 Stemming Algorithm.

Usage

var stem = require('stem-porter')

stem("meetings")
// => "meet"

stem("dwellings")
// => "dwell"

stem("favourable")
// => "favour"

Remember that the stems are not guaranteed to be valid words.

Install

$ npm install stem-porter

More info

For more information on Porter's algorithm and stemming in general, see:

Currently only English is supported. The implementation is heavily inspired by the Snowball implementation of Porter's English stemmer.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    346
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    346

Package Sidebar

Install

npm i stem-porter

Weekly Downloads

346

Version

0.0.1

License

MIT

Last publish

Collaborators

  • sentientwaffle