Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.24 KB

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