python library for turkish dictionary. 📕🇹🇷
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tdk
tests
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.md
codecov.yml
requirements.txt
setup.cfg
setup.py

README.md

tdk

Travis PyPI version codecov License

A library to query meaning of Turkish word from official dictionary.

Install

$ pip install tdk

Requirements

Python +3.4

Documentation

Command Line

$ tdk efe
a. 1. Yiğit, özellikle Batı Anadolu köy yiğidi, zeybek. 2. Ağabey. 3. Kabadayı: �Düğünevinin avlusuna girerken yeni düze inmiş efeler gibi nara attı.� -Ö. Seyfettin. 4. tar. Kaptan.

Library

from tdk.core import TurkishWord

word = TurkishWord('Atatürk')
word.query()
result = word.meaning

print(result)
"Cinsiyet: Erkek1. Türklerin atası. 2. Büyük kurtarıcı Gazi Mustafa Kemal Paşa'ya 1934 yılında yasayla verilmiş soyadı."