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 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.

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.23.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.23-py3.4.egg (4.2 MB view details)

Uploaded Egg

pykakasi-0.23-py3.3.egg (4.3 MB view details)

Uploaded Egg

pykakasi-0.23-py3.2.egg (4.2 MB view details)

Uploaded Egg

pykakasi-0.23-py2.7.egg (2.5 MB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for pykakasi-0.23.tar.gz
Algorithm Hash digest
SHA256 afa0c4c7db64baa75660d2d0748cd785f4f61d1abac3a1b89284d904e6547336
MD5 c5b5c9e0cf320f441415911fe724b143
BLAKE2b-256 c3565d7ae874d839a4a71fb977ece8b4ccbfa0d9ceae17113fbcdc1ed42d2fe7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pykakasi-0.23-py3.4.egg
Algorithm Hash digest
SHA256 f270e5d925b5918532e6752dc05774aee5a56407b2ed156c94a45c35d194326b
MD5 e9e362e3a44fdd008e1ec39891736ebe
BLAKE2b-256 5bd2306f8e5582e1852b39406c0be7a625d8176b60c82b66577a7f9e1ea46950

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pykakasi-0.23-py3.3.egg
Algorithm Hash digest
SHA256 4a0c859c22ad81f128b50d9e64073644869a00e22f3739ccc30833d6e5a2414c
MD5 04af79ce96fa0b83101a4edd01eaf237
BLAKE2b-256 df9474eba14911e4adaad53b7f5200130b1e13296ed9892f427a7752f4cd95c4

See more details on using hashes here.

File details

Details for the file pykakasi-0.23-py3.2.egg.

File metadata

  • Download URL: pykakasi-0.23-py3.2.egg
  • Upload date:
  • Size: 4.2 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pykakasi-0.23-py3.2.egg
Algorithm Hash digest
SHA256 6b6b79885612fa8e71b73044d25418afa9f99f16392bc581ac347256ac3a393d
MD5 33a9231c507057a4f30caaaace59797c
BLAKE2b-256 80c512aa124aaa527760c9455f02db22618a0e7da4eff55eda42c97fab42bc08

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pykakasi-0.23-py2.7.egg
Algorithm Hash digest
SHA256 4f9c21b8afeac47c9227327c4524757bca330a9ebed49b33b1af2c3ae751806e
MD5 48031d153f9cc7a9602187e88890a23f
BLAKE2b-256 0810e8c7b6b7774b0941dcf583019dc032ecc63d5154bbbf53b6c814fa085f80

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