jcconv "JapaneseCharacterCONVerter", interconvert hiragana, katakana, halfwidth kana
Project description
- jcconv, Japanese Characters CONVerter, interconvert hiragana, katakana, half-width kana.
This module also treat ‘half/wide number’, ‘half/wide alphabet’.
IMPOTANT: In current version, this works only with utf-8 encoding.
Simple example of usage is followings
>>> from jcconv import * >>> print hira2kata('あいうえお') # hiragana to katakana アイウエオ >>> print kata2hira('カタカナ') # katakana to hiragana かたかな >>> print half2hira('ハンカクカタカナ') # half-width kana to hiragana はんかくかたかな >>> print half2wide('hello jcconv') # half-width alphabet to wide-width hello jcconv >>> print wide2half('WIDE') # wide-width alphabet to half-width wide
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jcconv-0.1.3.tar.gz
(4.3 kB
view hashes)
Built Distribution
jcconv-0.1.3-py2.5.egg
(9.4 kB
view hashes)