Skip to main content

Turkce kelimelerin sonuna fonetik yapilarina uygun ekleri ekleyen module.

Project description

Ekler

PyPI Run Tests PyPI - Python Version PyPI - Downloads GitHub

Turkce kelimelerin sonuna, fonetik yapilarina gore:

  • Iyelik
  • Yonelme
  • Bulunma
  • Ayrılma
  • Çoğul
  • Vasıta

eklerini ekler.

Kurulum & Kullanim

pip install ekler

Ornek Kullanim:

from ekler import ekli, YONELME_EKI, IYELIK_EKI, BULUNMA_EKI, AYRILMA_EKI, VASITA_EKI

isim = 'ali'
ekli(isim, IYELIK_EKI)
## ali'nin

ekli(isim, YONELME_EKI)
## ali'ye

isim = "Ahmet"
ekli(isim, IYELIK_EKI)
## ahmet'in

ekli(isim, YONELME_EKI)
## ahmet'e

ekli(isim, YONELME_EKI, False) # kesme isareti yok
## ahmete

isim = "Istanbul"
ekli(isim, BULUNMA_EKI)
## Istanbul'da

ekli(isim, AYRILMA_EKI)
## Istanbul'dan

isim = "Gaziantep"
ekli(isim, BULUNMA_EKI) # sertlesme var. de -> te
## Gaziantep'te

ekli(isim, AYRILMA_EKI) # sertlesme var. den -> ten
## Gaziantep'ten

isim = "kitap"
ekli(isim, COGUL_EKI)
## kitaplar

isim = "kalem"
ekli(isim, COGUL_EKI)
## kalemler

isim = "Leyla"
ekli(isim, VASITA_EKI)
## Leyla'yla

Sınırlamalar

Kutuphaneyi gelistirme amacim sahis, cografi yer, kullanici adi (username) kelimelerinde kullanilmasidir. Bu tarz kelimelerde duzgun calismaktadir. (istisna ya da hata bulursaniz lutfen belirtin)

Ancak; kurum, mekan gibi sonuna gelecek eklerin bir standardi olmayan yerlerde hatali sonuclar verecektir. Mesela; Ziraat Bankasi kelimesine bulunma eki kullanmak istediginizde Ziraat Bankasi'nda yerine Ziraat Bankasi'da seklinde sonuc verecektir.

Ama mesela Akbank kelimesinde bu durum gecerli degil. Duzgun bir sekilde Akbank'ta ve Akbank'tan seklinde sonuc verecektir.

Dedigim gibi sorunsuz calismasi icin basta bahsettigim durumlarda kullanabilirsiniz.

Katkıda Bulunanlar

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

ekler-0.6.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

ekler-0.6.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file ekler-0.6.1.tar.gz.

File metadata

  • Download URL: ekler-0.6.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5

File hashes

Hashes for ekler-0.6.1.tar.gz
Algorithm Hash digest
SHA256 b76af66d8be9d4f3e38d97d109f64fa591f55265336542f6aa6c12be37b5f53d
MD5 4541db8565037d34c734a7e88dc5c17d
BLAKE2b-256 4325031a218db83d5b41035e5c31a4de4ddcd468c642f4e8b991b30bc1fca16f

See more details on using hashes here.

File details

Details for the file ekler-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: ekler-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5

File hashes

Hashes for ekler-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86a9a0281cde6ec23e77908e30fe30b3462d815402bba8ea34f2b4d8f4683364
MD5 0c41e16b2a78a63d61c68d4dc26b64cf
BLAKE2b-256 0d54bf0d2ab0714f21b79d2557ae1d5c1e1e7199ab4ecce6ead25cb3594ec435

See more details on using hashes here.

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