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

Uploaded Source

Built Distribution

ekler-0.5.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ekler-0.5.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for ekler-0.5.1.tar.gz
Algorithm Hash digest
SHA256 9f11082b91c6bea67ba6193cd749f070afe899053c885003a368395db966c2d7
MD5 383c1c5066f8d4d7b4048a7ec96168e4
BLAKE2b-256 fbc4c785b23f904b8c6461955925b8dc5052616a93d98bda6a6a676b47d01ce9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ekler-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for ekler-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67472099431f65e37cbe63c408f28e21ae521c9013e32912883f0d5b5526c304
MD5 ffb8812fc8ac459705aa1a8d2646b35c
BLAKE2b-256 10dbdc8e2df9c883ca67dd402551edc2afa4c11c53cb50f0ea271ed1b408ed1a

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