https://github.com/agmmnn/nisanyan-cli
CLI tool for Turkish etymological dictionary, nisanyansozluk.com
https://github.com/agmmnn/nisanyan-cli
cli dictionary etymology nisanyan terminal turkce turkish turkish-language
Last synced: over 1 year ago
JSON representation
CLI tool for Turkish etymological dictionary, nisanyansozluk.com
- Host: GitHub
- URL: https://github.com/agmmnn/nisanyan-cli
- Owner: agmmnn
- Created: 2021-09-18T11:27:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-08T15:48:03.000Z (over 2 years ago)
- Last Synced: 2025-02-28T18:42:55.389Z (over 1 year ago)
- Topics: cli, dictionary, etymology, nisanyan, terminal, turkce, turkish, turkish-language
- Language: Python
- Homepage: https://pypi.org/project/nisanyan-cli/
- Size: 124 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

CLI tool for Turkish etymological dictionary, [nisanyansozluk.com](https://www.nisanyansozluk.com/).
## Install
```
pip install nisanyan-cli
```
## Usege
```
$ nis anadolu
```

### 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:
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.com
-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.
## Dependencies
- [rich](https://pypi.org/project/rich/)