Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/efe/tdk
python library for turkish dictionary. 📕🇹🇷
https://github.com/efe/tdk
command-line-tool turkish
Last synced: 2 months ago
JSON representation
python library for turkish dictionary. 📕🇹🇷
- Host: GitHub
- URL: https://github.com/efe/tdk
- Owner: efe
- License: mit
- Created: 2017-11-12T12:31:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T09:51:01.000Z (over 6 years ago)
- Last Synced: 2024-10-04T06:19:33.695Z (3 months ago)
- Topics: command-line-tool, turkish
- Language: Python
- Homepage: https://pypi.org/project/tdk/
- Size: 38.1 KB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tdk
[![Travis](https://img.shields.io/travis/efe/tdk.svg)](https://travis-ci.org/efe/tdk/)
[![PyPI version](https://img.shields.io/pypi/v/tdk.svg)](https://pypi.org/project/tdk/)
[![codecov](https://codecov.io/gh/efe/tdk/branch/master/graph/badge.svg)](https://codecov.io/gh/efe/tdk)
[![License](https://img.shields.io/pypi/l/tdk.svg)](https://pypi.org/project/tdk/)A library to query meaning of Turkish word from official dictionary.
## Install
```
$ pip install tdk
```
## Requirements
Python +3.4## Documentation
### Command Line
```console
$ 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
```python
from tdk.core import TurkishWordword = TurkishWord('Atatürk')
word.query()
result = word.meaningprint(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ı."
```