This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

a2pcej, "convert Alphabet to Phonetic Code in English and Japanease."

Project Description

a2pcej, convert Alphabet to Phonetic Code in English and Japanease.

This module convert each alphabet letters to phonetic code, and also convert each alphabet letterts to katakana.


conv_al(letters, delimiter=’-‘, upper_sign=’(CAPS)’, num=False)

letters is string.

def conv_al(letters, delimiter='-', sign='(CAPS)', num=False):
    return <unicode>

conv_ak(letters, delimiter=’・’, upper_sign=’(大文字)’, num=False)

letters is string.

def conv_ak(letters, delimiter='・', sign='(大文字)', num=False):
    return <unicode>

Simple example of usage as below… (on Python3.5)

First of all, import module.

Import module.
>>> from a2pcej import *

Convert ‘exsamples’ to Ponetic code in English.

>>> conv_al('examples')

Convert ‘exsamples’ to Ponetic code in Japanese Katakana.

>>> conv_ak('examples')
Non alphabet letters are not convert (default).
Upper case lattters has (CAPS) or (大文字) sign (default).
>>> conv_al('Examples002')
>>> conv_ak('Examples002')

You can change delimiter and Upper case letters sign.

>>> conv_al('Examples003', delimiter=', ', sign='(CAPITAL)')
'Echo(CAPITAL), Xray, Alfa, Mike, Papa, Lima, Echo, Sierra, 0, 0, 3,'
>>> conv_ak('Examples003', delimiter='/', sign='(大)')

If you would like to convert numbers to phonetic code, set num=True.

>>> conv_al('Examples004', num=True)
>>> conv_ak('Examples004', num=True)
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
a2pcej-0.2.2a3-py2.py3-none-any.whl (6.9 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 19, 2017
a2pcej-0.2.2a3.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Jul 19, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting