Skip to main content

Python implementation of kakasi - kana kanji simple inversion library

Project description

=======
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 -> Roman
kakasi.setMode("K","a") # default: Katakana -> Roman
kakasi.setMode("J","a") # default: Japanese -> Roman
kakasi.setMode("r","Hepburn") # default: use Hepburn Roman table
kakasi.setMode("C", true) # default: Separator
kakasi.setMode("c", false) # 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" or "Kunrei" as mode "r", Roman table switch.
Also "C" used for separator switch, "c" for capitalize switch.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pykakasi-0.2.tar.gz (1.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pykakasi-0.2-py3.4.egg (2.5 MB view details)

Uploaded Egg

pykakasi-0.2-py3.3.egg (2.4 MB view details)

Uploaded Egg

pykakasi-0.2-py2.7.egg (2.4 MB view details)

Uploaded Egg

File details

Details for the file pykakasi-0.2.tar.gz.

File metadata

  • Download URL: pykakasi-0.2.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pykakasi-0.2.tar.gz
Algorithm Hash digest
SHA256 51962e9dd5ac0f963cf348b31cd713a393f1f93fff3ecc84e7706423396873fb
MD5 dd12354c97a19391275cb39bd2e79567
BLAKE2b-256 5860b280bf69e935ad522e56e81d0fe48403fb3aac4571e131a08f3efdf64fb8

See more details on using hashes here.

File details

Details for the file pykakasi-0.2-py3.4.egg.

File metadata

  • Download URL: pykakasi-0.2-py3.4.egg
  • Upload date:
  • Size: 2.5 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pykakasi-0.2-py3.4.egg
Algorithm Hash digest
SHA256 4243b5a2c5cef04c2b355811b2464a3b528b63ce26b37a0b58df1b97aba1f86d
MD5 f53404e711b3dfaf29004ce4487add69
BLAKE2b-256 5a15795ba6b552d4c3e61adea107e727950090dc3046c370c62e6b798cbd9f25

See more details on using hashes here.

File details

Details for the file pykakasi-0.2-py3.3.egg.

File metadata

  • Download URL: pykakasi-0.2-py3.3.egg
  • Upload date:
  • Size: 2.4 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pykakasi-0.2-py3.3.egg
Algorithm Hash digest
SHA256 4699e447289bb853fa8cd004254262aa4a21ef35f8e339f2ce745c16c593532e
MD5 2ee2672cbc0c2420efbfcd0927b640d0
BLAKE2b-256 105396d08bb3cb61d6639dcb63cc790b6621b0388047264644900ad2a1cb6a42

See more details on using hashes here.

File details

Details for the file pykakasi-0.2-py2.7.egg.

File metadata

  • Download URL: pykakasi-0.2-py2.7.egg
  • Upload date:
  • Size: 2.4 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pykakasi-0.2-py2.7.egg
Algorithm Hash digest
SHA256 b26185c9b3855b97fda31a7363e3dd049481657f025b36e90ebc0aa3e0d6ebec
MD5 c8a9a301c5544e6beb899902f9fd6e5a
BLAKE2b-256 6cfc3dfa0921f56df1385a0a26c221ef2b9d8e37937fa6fca5dfdff86d5eec88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page