Enter only simplified characters and create word meaning with Traditional, Pinyin, Meaning, Audio and example sentences offline.
data
folder. (cedict)data.db
offline requirements.txt
To install
pip install -r requirements.txt
requirements.txt
file contains following
jieba
gTTS
pinyin
pycedict
hanziconv
googletrans
git+https://github.com/DeepHorizons/tts
Install latest version googletrans==4.0.0rc1
.
main.py
and start adding wordsDownload this repository and then follow the steps:
python3-pip
jieba
gTTS
pinyin
pycedict
hanziconv
googletrans==4.0.0rc1
Command to install
python3 -m pip install -r requirements_linux.txt
main_for_linux.py
python3 main_for_linux.py
Download this repository and then follow the steps:
Install python3
https://www.python.org
Download this repository
https://github.com/infinyte7/Anki-Chinese-Vocabulary-Generator/archive/master.zip
Install following dependencies
jieba
gTTS
pinyin
pycedict
hanziconv
googletrans==4.0.0rc1
Command to install
pip3 install -r requirements_mac.txt
Run main_for_mac.py
python3 main_for_mac.py
jieba
gTTS
pinyin
pycedict
hanziconv
googletrans==4.0.0rc1
main_for_android.py
inside Pydroid 3Languages & voices for DeepHorizons/tts may be needed to install for windows.
The json_data
folder contains dictionary data of CC-CEDICT converted to individual .json
file using cedict-json.
CC-CEDICT
The data.db
contains sentences downloaded from https://tatoeba.org/eng/downloads. For accessing sentences matching the words offline.
The audio_data
folder contains audio taken from https://github.com/hugolpz/audio-cmn.
Those audio taken from http://shtooka.net/download.php
Use Anki Desktop to import it for Anki-xiehanzi
xiehanzi
folder to collection.media
folder in Ankixiehanzi.txt
fileFields separated by: Tabs
Code optimization will be appreciated.
Read License.md