JSPM

snowball-german

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q79861F
  • License BSD-2-Clause

German snowball stemmer by Martin Porter for Node

Package Exports

  • snowball-german

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 (snowball-german) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

German Snowball Stemmer

JS implementation of the stemming algorithm by Martin Porter.

Copyright of the algorithm is: Copyright (c) 2001, Dr Martin Porter License.

This js version was originally written by Joder Illi. I just added the tests and published it to npm.

Installation

npm install snowball-german

Usage

var stem = require('snowball-german')

var stemmed = stem('abenddämmerung')
console.log(stemmed)
// outputs "abenddammer"

Tests

npm test