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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ekler-0.5.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.tar.gz
Algorithm Hash digest
SHA256 5be6436a2ff4ba38ac4c394c6808a430c20b8ae64feaf2f0168b5c42f6239b48
MD5 cc7d72eeda5bbee396bcb0a46c729b5f
BLAKE2b-256 dd3261a4ffb368b2d68f21a12165fd3906c7b5d03be6e60e0b383bab52c23bb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ekler-0.5-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-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc42240ca3842c9a994444f42b5e2b1e9eeaaa583759f669e1ee0fd4d0bcd06
MD5 52988b83f6e5c2b9cccfb97e8d79429f
BLAKE2b-256 08c2b965e7432a32997d168aa6b9991f8400d6a496f516192aab835d13689b57

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