alup / python_greek_stemmer

Python implementation of Greek Stemmer (based on Skroutz's Ruby version).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Greek Stemmer

This is a Python implementation of Skroutz's Ruby Greek stemmer.

Usage

To use simply do:

>>> from greek_stemmer import GreekStemmer >>> stemmer = GreekStemmer() >>> stemmer.stem('ΘΑΛΑΣΣΑ')

Installation

To install using pip issue the following command:

pip install greek-stemmer

Testing

In order to run the tests, you should firstly install all the necessary dependencies:

pip install -r requirements.txt

Tests can be run using the following command:

python -m pytest tests/

About

Python implementation of Greek Stemmer (based on Skroutz's Ruby version).


Languages

Language:Python 100.0%