These scripts generate a .mobi file from the CC-CEDICT Chinese-English dictionary.
You can then load this .mobi file to your Kindle to use it as a dictionary.
The generated dictionary includes pinyin and definitions for words.
First install nodejs and kindlegen. Then run the following commands
npm install -g livescript
lsc to_dict.ls
python tab2opf.py -utf dictionary.txt
kindlegen dictionary.opfMIT
For version with zhuyin and jyutping (cantonese), see https://github.com/gkovacs/cantodict-kindle-mobi