Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 640 Bytes

README.rst

File metadata and controls

43 lines (23 loc) · 640 Bytes

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/