sinaahmadi / klpt

The Kurdish Language Processing Toolkit
https://sinaahmadi.github.io/klpt/
Other
93 stars 14 forks source link

Build issue fix: replacing the cyhunspell package with a different package that maintains the same API #26

Closed Hrazhan closed 2 months ago

Hrazhan commented 2 months ago

Cyhunspell is no longer maintained and cannot be easily built for recent versions of Python, which causes the installation of klpt to break. This pull request provides a quick fix by replacing cyhunspell with a more up-to-date, actively maintained version of the wrapper.

cHunSpell is another wrapper around Hunspell that has fewer dependencies and no build issues for Python 3.11 and 3.12. It maintains the same API as cython_hunspell, so there is no need for any change from the KLPT side. I have tested all the functions from the Stem module, and they all work fine with it.

I have also updated GitHub Actions workflow to build and test the project using Python 3.8 and later versions. Python 3.7 has reached its end-of-life and is no longer supported.

sinaahmadi commented 2 months ago

Thanks a lot, @Hrazhan gyan. All clear. Merged!

Hrazhan commented 2 months ago

Thanks a lot, @Hrazhan gyan. All clear. Merged! Thank you Kake, for this gem of a tool.