Skip to main content

Turkce kelimelerin sonuna fonetik yapilarina uygun ekleri ekleyen module.

Project description

Ekler

PyPI - Python Version Build Status GitHub

Turkce kelimelerin sonuna, fonetik yapilarina gore:

  • Iyelik
  • Yonelme
  • Bulunma
  • Ayrılma

eklerini ekler.

Kurulum & Kullanim

pip install ekler

Ornek Kullanim:

from ekler import ekli, YONELME_EKI, IYELIK_EKI, BULUNMA_EKI, AYRILMA_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

To Do

  • BUYUK HARF ve camelCase destegi
  • Bulunma ve Ayrilma ekleri ( ali'de , ali'den )
  • Daha fazla test

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.

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.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

ekler-0.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ekler-0.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for ekler-0.4.tar.gz
Algorithm Hash digest
SHA256 bc54ca31237e2e6c608918f348e051dce35ebdef0f536a01a90e53ed62e47865
MD5 886805f9071ed62e8d34d2030b622ba1
BLAKE2b-256 609f856e60155d60620862d16d4075d3f0274db874e1884e3ab4443bfcef8730

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ekler-0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for ekler-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 816755f236ee880bb35ad2c34d83dcda78bf0f5931ca735f95cb869d69c6dbf4
MD5 57f592df8903acd08adb5915768dfb42
BLAKE2b-256 3e20fd8abab1e36e0ae6000db31f560b10d3856327c55afdad710ee5ebf1223c

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