No project description provided
Project description
pyboin
pyboin is Pure-Python Japanese character interconverter for Hiragana and Vowel.
「こんにちは」 -> 「おんいいあ」
Requirement
- Python3
Usage
import pyboin
# Argument 'cv' may be omitted.
# Specify katakana or hiragana as the first argument.
pyboin.text2boin('こんにちは', cv='katakana')
# => 'オンイイア'
pyboin.text2boin('こんにちは', cv='hiragana')
# => 'おんいいあ'
pyboin.convert_vowel('ス', 'ア')
# => 'サ'
pyboin.convert_vowel('カ', 'オ')
# => 'コ'
pyboin.romanize('a', 's')
# => 'サ'
Installation
$ pip install pyboin
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/AjxLab/pyboin.
Author
- Tatsuya Abe
- '''abe12mccc.jp'''
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
pyboin-0.4.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
pyboin-0.4.0-py3-none-any.whl
(4.1 kB
view hashes)