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
Release files for trstemmer 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trstemmer-1.0.0.tar.gz | 2.7 kB | Details |
Release files / trstemmer-1.0.0.tar.gz
| Download URL | trstemmer-1.0.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e94c7103470be5084ccccd3d3d6b6f4a88c4d3b60653c498ee7dfa579a43ff1
|
|
BLAKE2b-256 checksum How to use checksums |
a9b6f8e640619f31b2c173dbebf7cab8b66b7a337f85da10b151c198258f9cd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|