GitHunt
GE

germanattanasio/python_greek_stemmer

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

Greek Stemmer

PyPI Version
Build Status

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

Maintainer's Note

This fork is an attempt to help maintain the repository due to its original author's inactivity. All credit for the original work remains with Andreas Loupasakis.

Credits

This project was originally developed by Andreas Loupasakis. All credits for the initial work go to him.

Usage

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

Installation

To install using pip:

pip install greek-stemmer-plus

Local Development

Setting up the local environment

  1. Clone the repository.
  2. Install Poetry: curl -sSL https://install.python-poetry.org | python -
  3. Install project dependencies using Poetry: poetry install

Running tests

poetry run pytest tests/

Proposing Changes

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them using Angular commit message conventions.
  4. Submit a pull request to the main repository.