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’.
Since 0.2.0, check_hira, check_kata, check_half functions were added. you can check if string consists some kind of characters.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
jcconv-0.2.0-py2.6.egg
(10.9 kB
view details)
File details
Details for the file jcconv-0.2.0-py2.6.egg
.
File metadata
- Download URL: jcconv-0.2.0-py2.6.egg
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab622cb19e8e8416e8874a63b18f116f544ece1dd909ee23cdb6c3820e9eaea |
|
MD5 | 33621cc33a20e3e979d35d0fc9b64de3 |
|
BLAKE2b-256 | 6122285b9e154065a0b6ab6f94676a588fa33accc1ce4f23fd7a992907aff653 |