CLI tool for Turkish etymological dictionary, nisanyansozluk.com (nis <word>)
Project description
CLI tool for Turkish etymological dictionary, nisanyansozluk.com.
Not: 0.3 sürümünden itibaren selenium yerine direkt nisanyan sözlüğün api endpoint'i decode* edilerek kullanılmaktadır.
Install
pip install nisanyan-cli
Usege
$ nis yakamoz
Etymology Tree (--tree
, -t
):
$ nis çikolata --tree
çikolata (Günümüz Türkçesi)
└── cioccolata (İtalyanca): kakao yağı ve şekerle imal edilen yiyecek maddesi.
└── chocolate (İspanyolca): ~.
└── xocolatl (Aztekçe): kakaodan yapılan içecek.
├── xocolli (Aztekçe): acı.
└── atl (Aztekçe): su.
Random Word (--random
, -r
):
$ nis -r -t
menekşe (Günümüz Türkçesi)
└── banafşe ‹بنفشه› (Farsça): aynı anlam.
└── vanavşag (Orta Farsça 1300—1500): aynı anlam.
└── *vana-vaxşa- (Avestaca MÖ.2000): orman otu.
└── vaxşaiti, vaxş- (Avestaca MÖ.2000): yetişmek, bitmek (bitki).
TODO
- Köken metninin sitedeki gibi görünmesi için Api'dan dönen sonucun işlenmesi.
- Ek açıklama metnindeki kısaltmaların normal hallerine çevrilmesi.
- Decode işlemini python koduna uyarlama.* (crypto-js/aes, crypto-js/enc-utf8)
Arguments
<word>
-h, --help show this help message and exit
-t, --tree show result as etymology tree
-r, --random selects a random word and brings the result
-p, --plain plain text output
-v, --version show program's version number and exit
Dependencies
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
nisanyan-cli-0.3.1.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for nisanyan_cli-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f691647bfe052c44b66f1f07680cc5175b2ad52018153b13c0d145c6417fadd |
|
MD5 | 63a785ac018be627f7f722da214ce6e3 |
|
BLAKE2b-256 | 09401b8a0c7e1f2c36e70b1852a3c87b5ce55ce02434506e0b9cb83f91b61036 |