skip to navigation
skip to content

Not Logged In

pykakasi 0.23

Python implementation of kakasi - kana kanji simple inversion library

=======
Pykakasi
=======

pykakasi is re-imprelemtation of kakasi library by Python.

How To Use pykakasi
==================

::

import pykakasi.kakasi as kakasi

kakasi = kakasi()
kakasi.setMode("H","a") # default: Hiragana no convert
kakasi.setMode("K","a") # default: Katakana no convert
kakasi.setMode("J","a") # default: Japanese no convert
kakasi.setMode("E","a") # default: Symbols no convert
kakasi.setMode("r","Hepburn") # default: use Hepburn Roman table
kakasi.setMode("s", True) # separate, default: no Separator
kakasi.setMode("C", True) # capitalize default: no Capitalize
conv = kakasi.getConverter()
result = conv.do(text)

You can use output `Mode` values from "H", "K", "a" which is each means
"Hiragana", "Katakana" and "alphabet".
For input, you can use "J" that means "Japanese" that is
mixture of Kanji, Katakana and Hiragana.
Also there is values of "H", "K" that means "Hiragana", and "Katakana".
You can use "Hepburn","Kunrei" or "Passport" as mode "r", Roman table switch.
Also "s" used for separator switch, "C" for capitalize switch.
"S" for separator string option.  
File Type Py Version Uploaded on Size
pykakasi-0.23-py2.7.egg (md5) Python Egg 2.7 2014-05-25 2MB
pykakasi-0.23-py3.2.egg (md5) Python Egg 3.2 2014-05-25 3MB
pykakasi-0.23-py3.3.egg (md5) Python Egg 3.3 2014-05-25 4MB
pykakasi-0.23-py3.4.egg (md5) Python Egg 3.4 2014-05-25 4MB
pykakasi-0.23.tar.gz (md5) Source 2014-05-25 1001KB
  • Downloads (All Versions):
  • 75 downloads in the last day
  • 331 downloads in the last week
  • 1025 downloads in the last month