CLI tool for Turkish etymological dictionary, nisanyansozluk.com (nis <word>)
Project description
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).
Adlar (-ad
):
$ nis gökçe -ad
Also you can use --random
, -r
argument with -ad
argument: nis -ad -r
Arguments
positional arguments:
<word>
options:
-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
-ad show result from nisanyanadlar
-v, --version show program's version number and exit
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)
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.4.2.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for nisanyan_cli-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3edfaa3f510e79a67aa0f42847e398ce4ff914d7ca780f508d6c9a3714270d23 |
|
MD5 | efe69aac00cf6b74678ff62b76de6f40 |
|
BLAKE2b-256 | 29b94852a2aab63cbf70484eefcf3ef46b70a2083dbcd94ebb707cd3a19f869a |