lwjef / bingtrans

Python Library for interfacing with Microsoft Translate API

Home Page:http://github.com/bahn/bingtrans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bingtrans

Bingtrans is a Python library for interfacing with Microsoft Translate API.

Bingtrans is licensed under the Apache Licence, Version 2.0

Features

Bingtrans can:

  • translate a text or html file in a language into another language

You are welcomed to expand this module.

Install

python ./setup.py install

Example

import bingtrans
bingtrans.set_app_id(YourAppID)  # you can get your AppID at: http://www.bing.com/developers/
print bingtrans.translate('hello', 'en', 'ko')

Homepage

http://github.com/bahn/bingtrans

Byung Gyu Ahn <bahn@cs.jhu.edu>

About

Python Library for interfacing with Microsoft Translate API

http://github.com/bahn/bingtrans