Skip to main content

A tool to get the katakana reading of an alphabetical string.

Project description

alkana.py

A tool to get the katakana reading of an alphabetical string.

Installing

Python 3 or higher is required.

From pip

python3 -m pip install -U alkana.py

Clone from GitHub

$ git clone https://github.com/cod-sushi/alkana.py
$ cd alkana.py
$ python3 -m pip install -U .

Example

Python import

Quick example:

import alkana

print(alkana.get_kana("Hello"))
print(alkana.get_kana("World"))
print(alkana.get_kana("abcdefg"))

Output of above example is:

ハロー
ワールド
None

If the reading is not exist, Returns None.

Command line

$ alkana hello
ハロー
$ alkana world
ワールド
$ alkana abcdefg

If the reading is not exist, there is no output.

Copyrights

Alphabetical word - katakana dictionary's data is from bep-eng.dic.

Bilingual Emacspeak Project (c) 1999-2002 Bilingual Emacspeak Project

Lisence

GPLv2

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

alkana.py-0.0.1.tar.gz (370.9 kB view details)

Uploaded Source

Built Distribution

alkana.py-0.0.1-py3-none-any.whl (380.0 kB view details)

Uploaded Python 3

File details

Details for the file alkana.py-0.0.1.tar.gz.

File metadata

  • Download URL: alkana.py-0.0.1.tar.gz
  • Upload date:
  • Size: 370.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for alkana.py-0.0.1.tar.gz
Algorithm Hash digest
SHA256 54a9d69bc6f0badbc5044eeb61b80c3002c621f17a77ef0d5a2ab215b235a442
MD5 a11ad2765c6965718a1e532dd439d742
BLAKE2b-256 8baf99855695ac9067c0ea1fe9776906a224537527ea5f784fe1f6ea46bf2c15

See more details on using hashes here.

File details

Details for the file alkana.py-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: alkana.py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 380.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for alkana.py-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4bc4ab528c13a0743760236bb0773d09520f3778702166264c6b35c2af23231
MD5 517775eacb87315bb1eff23963d7cefc
BLAKE2b-256 9e0b79dd7b375e8622358b06ac8d30e27555d69d07353bcfbc5ad800e26cea01

See more details on using hashes here.

Supported by

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