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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file trstemmer-1.0.0.tar.gz
.
File metadata
- Download URL: trstemmer-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e94c7103470be5084ccccd3d3d6b6f4a88c4d3b60653c498ee7dfa579a43ff1 |
|
MD5 | 393686d8e38fd4a7d494086492ac1016 |
|
BLAKE2b-256 | a9b6f8e640619f31b2c173dbebf7cab8b66b7a337f85da10b151c198258f9cd6 |