It is a tool to convert Japanese to pseudo-Chinese.
https://qiita.com/shoichiro-k/items/5d28be844f664100387b
pseudo-chinese.py | ||
README.md |
Pseudo Chinese (with MeCab)
Convert Japanese to pseudo-Chinese.
Description
This tool will automatically generate fake Chinese from Japanese sentences.
Using MeCab to parse Japanese sentences instead of COTOHA API.
Demo
私は本日定時退社します -> 我本日定時退社為
私はお酒を飲みたい -> 我御酒飲欲
Requirement
- Python 3.5.1
- mecab-python3
- unidic-lite
Usage
$ python -u pseudo-chinese.py [sentence]
Contribution
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Licence
MIT
Author
- Shoichiro Kono (orig. creater)
- Tan Kian-ting (porting to MeCab, and modified it.)