It is a tool to convert Japanese to pseudo-Chinese. https://qiita.com/shoichiro-k/items/5d28be844f664100387b
Find a file
2021-08-14 16:59:11 +08:00
env.json First Commit. 2020-04-14 19:57:50 +09:00
pseudo-chinese.py "乎" is the archaric irrogative particle in Chinese. 2021-08-14 16:59:11 +08:00
README.md Fix LICENCE. 2020-04-14 20:20:53 +09:00

Pseudo Chinese

Convert Japanese to pseudo-Chinese.

Description

This tool will automatically generate fake Chinese from Japanese sentences.

Demo

私は本日定時退社します -> 我本日定時退社也

私はお酒を飲みたい -> 我飲酒希望

Requirement

You need to register for a COTOHA API account before you can run this tool.

Once you have registered your COTOHA API account, you will set your Client ID and Client Secret to env.json .

{
	"client_id": "yourclinetid",
	"client_secret": "yourclinetsecret"
}

Usage

$ python -u pseudo-chinese.py

Contribution

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Licence

MIT

Author

Shoichiro Kono