# stem-porter

> Porter's stemming algorithm

Latest version **0.0.1** (published 2012-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install stem-porter
pnpm add stem-porter
yarn add stem-porter
bun add stem-porter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2012-07-08 |
| First published | 2012-07-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sentientwaffle |
| Maintainers | sentientwaffle |
| Keywords | nlp, stemming, porter, stemmer |

## Links

- npm: https://www.npmjs.com/package/stem-porter
- npm.io page: https://npm.io/package/stem-porter

## Recent versions

- 0.0.1 (latest) — 2012-07-08

## README

# stem-porter

Reduce words to their stems.

This package is a JavaScript implementation of the
[Porter2 Stemming Algorithm](http://snowball.tartarus.org/algorithms/english/stemmer.html).

# 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:

  * [Porter's original stemmer algorithm paper](http://tartarus.org/~martin/PorterStemmer/def.txt)
  * [Snowball](http://snowball.tartarus.org/), a string manipulation language
  * [Wikipedia/Stemming](http://en.wikipedia.org/wiki/Stemming)

Currently only English is supported. The implementation is heavily inspired by
the [Snowball implementation](http://snowball.tartarus.org/algorithms/english/stemmer.html)
of Porter's English stemmer.

# License

MIT

---
_Source: https://npm.io/package/stem-porter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
