Skip to content

Apmats/greekstemmerjs

Repository files navigation

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

About

A JavaScript port of the Skroutz greek stemmer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published