Skip to main content

A simple Turkish stemmer

Project description

trstemmer is a simple Turkish word stemmer which is still in development (for now, it can only stem verbs and may not be accurate.). You should download Turkish NLP model (pip install https://huggingface.co/turkish-nlp-suite/tr_core_news_lg/resolve/main/tr_core_news_lg-any-py3-none-any.whl) before using the library. You can use the library as following:

from trstemmer import turkish
stemmer = turkish.stemmer()
result = stemmer.stem("seviyorum, yapmışım, koşarlar, yemişsin")
print(f"Result: {result}")
>>> Result: sev yap koÅŸ ye

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trstemmer-1.0.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page