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.3.tar.gz
(9.7 kB
view hashes)
Built Distribution
Close
Hashes for nisanyan_cli-0.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08272814f0834a60a24d34502856893f38769320f4e998fd09a06e7672bbd5af |
|
MD5 | 11cec8621ebc524419c1d382fa191c74 |
|
BLAKE2b-256 | 4a9e9e77245447deb20f18a7ee62871190bd930c2d215bcbc3310f56498a6e77 |