All Projects → krmanik → Anki-Chinese-Vocabulary-Generator

krmanik / Anki-Chinese-Vocabulary-Generator

Licence: other
Enter only simplified characters and create word meaning with Traditional, Pinyin, Meaning, Audio and example sentences

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Anki-Chinese-Vocabulary-Generator

anki-canvas
🖌️ Drawing area widget for Anki to practice Kanji writing
Stars: ✭ 25 (+47.06%)
Mutual labels:  anki, ankidroid
image-occlusion-in-browser
Create image occlusion in browser
Stars: ✭ 20 (+17.65%)
Mutual labels:  anki, ankidroid
chinese-support-redux
Anki add-on providing support for Chinese study
Stars: ✭ 88 (+417.65%)
Mutual labels:  anki, mandarin
ankimaker
Automatically generates Anki decks from many sources
Stars: ✭ 43 (+152.94%)
Mutual labels:  anki, vocabulary-builder
Anki Android
AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
Stars: ✭ 4,425 (+25929.41%)
Mutual labels:  anki, ankidroid
files2flashcards
Keep your flashcards rooted in the context of your notes
Stars: ✭ 28 (+64.71%)
Mutual labels:  anki
vocabhub
An app to help you build your vocabulary.This app contains 800+ curated GRE words
Stars: ✭ 21 (+23.53%)
Mutual labels:  vocabulary-builder
google-translate-anki
No description or website provided.
Stars: ✭ 28 (+64.71%)
Mutual labels:  anki
anki tools
No description or website provided.
Stars: ✭ 32 (+88.24%)
Mutual labels:  anki
LaTeX-Note-Importer-for-Anki
Add-on for the memory training program Anki, allowing to import and export notes written in LaTeX.
Stars: ✭ 26 (+52.94%)
Mutual labels:  anki
ForgetMeNot
A flashcard app for Android.
Stars: ✭ 234 (+1276.47%)
Mutual labels:  anki
roam-to-anki
Sync flashcards from Roam Research to Anki
Stars: ✭ 34 (+100%)
Mutual labels:  anki
anki
Go library to read Anki *.apkg files
Stars: ✭ 32 (+88.24%)
Mutual labels:  anki
AnkigaokaoTutorial
一本结合高考的 Anki 入门书
Stars: ✭ 48 (+182.35%)
Mutual labels:  anki
immersive
Language learning mpv script for looking up words within mpv and generating Anki cards
Stars: ✭ 43 (+152.94%)
Mutual labels:  anki
notes
A miscellany of thoughts.
Stars: ✭ 18 (+5.88%)
Mutual labels:  anki
2anki.net
Server to create Anki flashcards faster, easier and better today ⭐️
Stars: ✭ 190 (+1017.65%)
Mutual labels:  anki
find-all-the-new-words
找出文章中的生词(配合anki使用)
Stars: ✭ 38 (+123.53%)
Mutual labels:  anki
anki-apkg
Create .apkg file for Anki
Stars: ✭ 25 (+47.06%)
Mutual labels:  anki
mandarin-android
🍊 Android mobile IM client
Stars: ✭ 26 (+52.94%)
Mutual labels:  mandarin

Anki-Chinese-Vocabulary-Generator

Enter only simplified characters and create word meaning with Traditional, Pinyin, Meaning, Audio and example sentences offline.

Demo

demo

Features

  • Generate word list from imported file
  • Traditional, Pinyin, Meaning and Audio generated automatically
  • Offline fetch meaning from data folder. (cedict)
  • Fetch sentences from data.db offline
  • Fetch meaning using Google translate when not found in cedict
  • Save audio file in using gTTS or DeepHorizons/tts
  • Save list to text file, can be imported to Anki
  • Edit / Delete

Quick start (Windows)

  1. Install Python
    https://www.python.org
  2. Download this repository
    https://github.com/infinyte7/Anki-Chinese-Vocabulary-Generator/archive/master.zip
  3. Install git
    https://git-scm.com/
  4. Install required library in 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.

  1. Run main.py and start adding words

To run on linux

Download this repository and then follow the steps:

  1. Install python3
    https://www.python.org
  2. Download this repository
    https://github.com/infinyte7/Anki-Chinese-Vocabulary-Generator/archive/master.zip
  3. Install pip3
python3-pip
  1. Install following dependencies
jieba
gTTS
pinyin
pycedict
hanziconv
googletrans==4.0.0rc1

Command to install

python3 -m pip install -r requirements_linux.txt
  1. Run main_for_linux.py
python3 main_for_linux.py

To run on mac

Download this repository and then follow the steps:

  1. Install python3
    https://www.python.org

  2. Download this repository
    https://github.com/infinyte7/Anki-Chinese-Vocabulary-Generator/archive/master.zip

  3. Install following dependencies

jieba
gTTS
pinyin
pycedict
hanziconv
googletrans==4.0.0rc1

Command to install

pip3 install -r requirements_mac.txt
  1. Run main_for_mac.py
python3 main_for_mac.py

Demo

To run on Android using Pydroid 3

  1. Install Pydroid 3 from play store
  2. Download this repository
    https://github.com/infinyte7/Anki-Chinese-Vocabulary-Generator/archive/master.zip
  3. Install following using Pip inside Pydroid 3. It requires Pydroid repository plugin also.
jieba
gTTS
pinyin
pycedict
hanziconv
googletrans==4.0.0rc1
  1. Download this keyboard 搜狗输入法 sōugǒu shūrù fǎ sogou Input from play store
    Note: Other keyboard will not help in typing chinese characters
  2. Open the main_for_android.py inside Pydroid 3
  3. Run the script and start adding words

Image

Demo

Note

Languages & voices for DeepHorizons/tts may be needed to install for windows.

Data

Dictionary

The json_data folder contains dictionary data of CC-CEDICT converted to individual .json file using cedict-json.
CC-CEDICT

Sentences

The data.db contains sentences downloaded from https://tatoeba.org/eng/downloads. For accessing sentences matching the words offline.

Audio

The audio_data folder contains audio taken from https://github.com/hugolpz/audio-cmn.
Those audio taken from http://shtooka.net/download.php

Import in Anki

Use Anki Desktop to import it for Anki-xiehanzi

  1. Copy audio from xiehanzi folder to collection.media folder in Anki
  2. Create a new deck
  3. Import generated xiehanzi.txt file
  4. Select Fields separated by: Tabs
  5. Map the fields to respective fields
  6. Then import

Demo

Changelog

Changelog.md

Contribute

Code optimization will be appreciated.

Todo

  • Stop freezing when translating the sentences

License

Read License.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].