TDK Güncel Türkçe Sözlük için komut satırı uygulaması.
Project description
lugat, TDK Güncel Türkçe Sözlük’ün komut satırı üzerinden kullanılmasını sağlar.
Nasıl Yüklenir
pip3 install lugat
Nasıl Kullanılır
Komutun satırında
lugat <kelime, atasözü, deyim vb.>
Atasözleri, deyimler, birleşik fiiller ve birleşik kelimeler gibi detayları görmek için
lugat -h <kelime, atasözü, deyim vb.>
Python uygulaması içinde
from lugat import lookup, LookupException
try:
word = lookup(word)
variations = word.get_variations()
for v in variations:
print(v.name)
print(v.origin)
print(v.meanings)
print(v.compound_words)
print(v.proverbs)
except LookupException:
pass
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lugat-0.1.8.tar.gz
(4.0 kB
view hashes)
Built Distribution
lugat-0.1.8-py3-none-any.whl
(5.7 kB
view hashes)