Socket
Socket
Sign inDemoInstall

porter-stemmer

Package Overview
Dependencies
0
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    porter-stemmer

Martin Porter's stemmer wrapped in CommonJS for use in node.js


Version published
Weekly downloads
1.5K
decreased by-29.72%
Maintainers
0
Install size
618 kB
Created
Weekly downloads
 

Readme

Source

porter.js

Martin Porter's stemmer wrapped in CommonJS for use in node.js.

Includes a nodeunit test case to verify that the sample input vocabulary Porter provides is stemmed to the expected output.

This is merely a wrapping of the javascript port done by "Andargor" with subsequent revisions by Christopher McKenzie. More information is available on Porter's site via the link given above.

Installation

npm install porter-stemmer

or git clone this repo.

Example

> var stemmer = require('./porter').stemmer
> stemmer('Smurftastic')
'Smurftast'

FAQs

Last updated on 28 May 2011

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc