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
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 Distribution
alkana.py-0.0.1.tar.gz
(370.9 kB
view hashes)
Built Distribution
alkana.py-0.0.1-py3-none-any.whl
(380.0 kB
view hashes)
Close
Hashes for alkana.py-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4bc4ab528c13a0743760236bb0773d09520f3778702166264c6b35c2af23231 |
|
MD5 | 517775eacb87315bb1eff23963d7cefc |
|
BLAKE2b-256 | 9e0b79dd7b375e8622358b06ac8d30e27555d69d07353bcfbc5ad800e26cea01 |