Skip to main content

babigo translate module

Project description

Overview

与えられた任意の文字列をバビ語に変換するパッケージです。 バビ語については以下を参照

ア行→ば イ行→び ウ行→ぶ エ行→べ オ行→ボ をつければいいです
例)おはようございます => おぼはばよぼうぶごぼざばいびまばすぶ

バビ語の使い方-Yahoo!知恵袋

動作は、Python2.7 で確認しています。

Installation

下のどちらのほうほうでもインストールできます

easy_install babigo

または

pip install babigo

Usage

事前にYahooJapan デベロッパーネットワークでアプリケーションIDを取得します。

Yahoo!デベロッパーネットワーク

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


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)

Uploaded Source

Built Distribution

babigo-0.1.1-py2.7.egg (6.7 kB view hashes)

Uploaded Source

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