babigo translate module
Project description
Overview
与えられた任意の文字列をバビ語に変換するパッケージです。 バビ語については以下を参照
ア行→ば イ行→び ウ行→ぶ エ行→べ オ行→ボ をつければいいです 例)おはようございます => おぼはばよぼうぶごぼざばいびまばすぶ
動作は、Python2.7 で確認しています。
Installation
下のどちらのほうほうでもインストールできます
easy_install babigo
または
pip install babigo
Usage
事前にYahooJapan デベロッパーネットワークでアプリケーションIDを取得します。
import babigo babi = babigo.Babigo(appid='your-appid') sentence = u'庭には二羽ニワトリがいる。' print babi.translate_sentence2babigo(sentence) # にびわばにびはばにびわばにびわばとぼりびがばいびるぶ。
Changelog
0.1.1 (2012-06-16)
fix bug
0.1.0 (2012-06-16)
First release
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
babigo-0.1.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
babigo-0.1.1-py2.7.egg
(6.7 kB
view hashes)