You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/third_party/python-pinyin/pinyin-data/unihan/Makefile

21 lines
380 B

.PHONY: help
help:
@echo "parse parse Unihan database "
@echo "update update Unihan database"
@echo "diff diff between Unihan data and parsed data"
.PHONY:parse
parse:
@python parse_pinyin.py
.PHONY:update
update:
-rm Unihan*
wget ftp://ftp.unicode.org/Public/UNIDATA/Unihan.zip -O Unihan.zip
unzip Unihan.zip
python parse_pinyin.py
.PHONY:diff
diff:
@bash diff.sh