PyTurkce
Python package for Turkish Language.
- Documentation: https://pyturkce.readthedocs.io.
Installation
pip install pyturkce
Usage
from pyturkce import pyturkce
word = pyturkce.Sozluk('kalem')
print(word.anlamlar) # ['Yazma, çizme vb. işlerde kullanılan çeşitli biçimlerde araç', 'Resmî kuruluşlarda yazı işlerinin görüldüğü yer', 'Yontma işlerinde kullanılan ucu sivri veya keskin araç', 'Çeşit, tür', 'Bazı deyimlerde yazı', 'Yazar']
print(word.ornekler) # ['Kâğıt, kalem, mürekkep, hepsi masanın üstündedir.', 'Kalemindeki odacıya aylığını kırdırırmış.', 'Taşçı kalemi.', 'Oymacı kalemi.', 'Üç kalem erzak.', 'Beş kalem ilaç.', 'Kaleme almak.', 'Peyami Safa, edebiyatımızın usta kalemlerindendir.']
Commands
PyTurkce has also CLI support.
usage: pyturkce [-h] [-m] [-i] [-i] [-l] [-r NUM]
optional arguments:
-h, --help show this help message and exit
-m, --meaning ilgili kelimenin anlamini getirir
-i, --idiom ilgili kelime ile kullanilan deyimleri getirir
-s, --sample ilgili kelime ile kurulan cumle orneklerini getirir
-r NUM, --random NUM Num sayida random kelime getirir (default: 1)
To-Do's
- Fiil, sifat, edat ayirma
- Stop words (etkisiz kelimeleri ayirma)
- random n sayida kelime getir
- icinde, basinda veya sonunda belirli harfleri bulunan kelimeleri getir
- kelimelerin icerdigi harf oranlarina gore hatali kelimeleri bulup duzelt
- turkce kripto bolumleri ekle
Contributors
We welcome contributions that make PyTurkce better and improve the existing functionalities of the project.
- Mert Cobanov (@cobanov)
- Fethi Tekyaygil (@tekyaygilfethi)
======= History
0.1.0 (2021-11-12)
- First release on PyPI.
Metadata
Release files for pyturkce 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyturkce-0.1.3.tar.gz | 69.5 kB | Without provenance | Details for pyturkce-0.1.3.tar.gz |
Release files / pyturkce-0.1.3.tar.gz
| Download URL | pyturkce-0.1.3.tar.gz |
|---|---|
| Size | 69.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f56a37bf71f2cb08a8f4cc939660e4530666fb3146e9b5ee38ad550f29384b51
|
|
BLAKE2b-256 checksum How to use checksums |
30738aa232874f98ae037b4b6bb9218e842dad5bcda6cdcd3c9f2ab1bf114f91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|
Security for pyturkce 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.