YalingZheng / cwg

Chinese Worksheet Generator

Home Page:http://chineseworksheetgenerator.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chinese Worksheet Generator

Allows one to generate Chinese practice worksheets.

Features

  • Simplified and traditional Chinese
  • Stroke order
  • Radicals
  • Words
  • Customizable pinyin and translation
  • Customizable title and grid style

Dependencies

Installation notes

Words

  • Use parentheses to group multiple characters together. This will add definition of such words into the sheet.

Command line worksheet generation

Show usage

gen.py

Generate worksheet

gen.py --makemeahanzi=$MAKEMEAHANZI_PATH --cedict=$CEDICT_PATH --characters='你好' --title='Vocabulary' --guide='star'

Customize pinyin, translation and words

gen.py --makemeahanzi=$MAKEMEAHANZI_PATH --cedict=$CEDICT_PATH --characters='(你好)' --info # Generate character_infos.json

# You may edit the 'character_infos.json' and 'word_infos.json' to customize pinyin, translation and words

gen.py --makemeahanzi=$MAKEMEAHANZI_PATH --title='Vocabulary' --guide='star' --sheet # Generate worksheet

Running tests

cd backend
python3 -m unittest discover

License

This project is released under the GPLv3 license, for more details, take a look at the LICENSE.txt file in the source code.

About

Chinese Worksheet Generator

http://chineseworksheetgenerator.org

License:GNU General Public License v3.0


Languages

Language:Python 81.3%Language:JavaScript 13.1%Language:HTML 4.6%Language:CSS 1.1%