Skip to main content

Turkce kelimelerin sonuna fonetik yapilarina uygun ekleri ekleyen module.

Project description

Ekler

PyPI Build Status PyPI - Python Version PyPI - Downloads GitHub

Turkce kelimelerin sonuna, fonetik yapilarina gore:

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

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

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

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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ekler-0.6.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e014145041a77189103e5286c040db533087e387f0adc7f20cce41f74d335994
MD5 46e011538dbcc8d6ff16f80371c6d0c4
BLAKE2b-256 22969126f181f8654b6e4a93a1963afddf71eb2c15acf64a21f28f2a51cfb707

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ekler-0.6.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2234313fec92397b33afd72e87d0b2289e3a23a233723d23443e9b7c475cf5e5
MD5 9874c1d8b0cf77878fca064dc8c8a60f
BLAKE2b-256 b8d713fc64b77c37316e37cb695c6441ad5891a60edfd124d5ef8a7981d13d40

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