Martin Porter's stemmer wrapped in CommonJS for use in node.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.


npm install porter-stemmer

or git clone this repo.


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





  • zora-tap-reporter

    TAP reporters for zora testing library zora-tap-reporter Test Anything Protocol reporters for zora. ...

    2 个月前
  • zora-node-reporter

    A reporter for zora which targets nodejs environment zora-node-reporter A reporter which takes advan...

    2 个月前
  • wikexporter

    GitHub wiki exporter (md to html) wikexporter GitHub's Wiki exporter (md to html) Instalation $ npm ...

    6 个月前
  • web-console-reporter

    Web console reporter for Mocha testing framework web-console-report...

    1 个月前
  • wdio-spec-reporter

    A WebdriverIO plugin. Report results in 'spec' format. WDIO Spec Reporter A WebdriverIO plugin...

    2 年前
  • wdio-junit-reporter

    A WebdriverIO plugin. Report results in junit xml format. WDIO JUnit Reporter A WebdriverIO pl...

    2 个月前
  • wdio-dot-reporter

    A WebdriverIO plugin. Report results in dot format. WDIO Dot Reporter A WebdriverIO plugin to ...

    2 年前
  • wdio-allure-reporter

    A WebdriverIO plugin. Report results in Allure format. WDIO Allure Reporter A WebdriverIO reporte...

    3 个月前
  • vfile-reporter-pretty

    Pretty reporter for VFile vfile-reporter-pretty Pretty reporter for vfile. For example, get pr...

    2 年前
  • vfile-reporter-json

    JSON reporter for virtual files vfile-reporter-json Format vfiles as stringified JSON. Install...

    2 年前


扫码加入 JavaScript 社区