https://github.com/siongui/python-jianfan
Automatically exported from code.google.com/p/python-jianfan
https://github.com/siongui/python-jianfan
chinese-simplified chinese-traditional chinese-translation converter python
Last synced: 4 months ago
JSON representation
Automatically exported from code.google.com/p/python-jianfan
- Host: GitHub
- URL: https://github.com/siongui/python-jianfan
- Owner: siongui
- License: bsd-3-clause
- Created: 2016-01-03T14:48:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-03T14:51:15.000Z (almost 10 years ago)
- Last Synced: 2025-04-04T15:21:27.385Z (6 months ago)
- Topics: chinese-simplified, chinese-traditional, chinese-translation, converter, python
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
A Python Library for translation between traditional and simplified chinese.
All documentation is in the "docs" directory and online at
http://code.google.com/p/python-jianfan/w/list . If you're just getting started, here's
how we recommend you read the docs:* read docs/install.txt for instructions on installing Jianfan.
* from there you can jump to the HOWTOs (in docs/howto) for specific
problems, and check out the reference (docs/ref) for gory details.Docs are updated rigorously. If you find any problems in the docs, or think they
should be clarified in any way, please take 30 seconds to fill out a ticket
here:http://code.google.com/p/python-jianfan/issues/list
To get more help:
* Join the project, or read the archives, at
http://code.google.com/p/python-jianfan/To contribute to Jianfan:
* Check out source codes, at
hg clone https://python-jianfan.googlecode.com/hg/ python-jianfanTo use Jianfan:
* from jianfan import jtof, ftoj
* print jtof(u'中华')
* print ftoj(u'中華')Jianfan是一个方便、易用、小巧的繁体中文和简体中文之间转换的库,
提供了两个方法,简体转换为繁体: jtof(unicode_string), 繁体转换为简体: ftoj(unicode_string)