JSPM

greek-stemmer

0.1.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q48341F
  • License MIT

A simple greek stemmer

Package Exports

  • greek-stemmer

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

Readme

greek-stemmer NPM version Build Status Dependency Status

A JS port of the greek stemmer made by the skroutz team in ruby (which is available over here https://github.com/skroutz/greek_stemmer).

Installation

$ npm install --save greek-stemmer

Usage

var greekStemmer = require('greek-stemmer');
greekStemmer.stem('ΕΠΙΦΑΝEΙΕΣ');

Contributing

Run the following gulp task to go through a file of words (under the benchmarks folder) and get a test output:

$ gulp benchmark

That should give you an idea of the output of the stemmer to see if it fits your needs or if it needs further tuning. Tuning can be done either by adding manual exceptions in the config files or by forking and doing it in the stemmer code.

License

MIT © apmats