Post on 15-Jan-2015
description
IKAZUCHIINTRODUCTION
2011/6/22 t2y
2011年6月22日水曜日
WHO AM I?
Tetsuya Morimoto (もりもと てつや)
Japanese and Freelance
I like Python programming and translating
Twitter: @t2y_en (English), @t2y (Japanese)
Bitbucket: https://bitbucket.org/t2y
Facebook: http://www.facebook.com/t2y1979
2011年6月22日水曜日
MY TRANSLATIONS
Expert Python programming
Author : Tarek Ziadé
Python Insider: http://blog-ja.python.org/
PyMOTW: http://www.doughellmann.com/PyMOTW-ja/
virtualenvwrapper: http://www.doughellmann.com/docs/virtualenvwrapper/ja/
Paver: http://paver.github.com/paver-docs-jp/
fedora wiki: https://fedoraproject.org/wiki/EPEL/ja
en: 978-1847194947
ja: 978-4048686297
2011年6月22日水曜日
WHAT IS IKAZUCHI?
I’m developer of ikazuchi
ikazuchi (いかずち) is just name, means Thunder in Japanese
help translating work using web translate APIs (Google/Microsoft)
can use as CUI tools or for application embedded
with plugins
handle reST/PO file with plugins
provide text to speech feature
2011年6月22日水曜日
INSTALLATION
PyPI: http://pypi.python.org/pypi/ikazuchi/
use setuptools
$ easy_install ikazuchi
use buildout
$ hg clone https://t2y@bitbucket.org/t2y/ikazuchi
$ cd ikazuchi
$ python bootstrap.py -d
$ bin/buildout
2011年6月22日水曜日
AS CUI TOOL
use “ikazuchi” command
$ ikazuchi -a google -s “Che bella giornata” -f it -t en
$ ikazuchi -a microsoft -s “Che bello l'Europython” -f it -t en
DEMO
2011年6月22日水曜日
FOR VIM EMBEDDED
translate RST file within VIM using ikazuchi plugin
1,3:pyfile ~/bin/raimei
can keep RST format along with translated text
DEMO
2011年6月22日水曜日
TEXT TO SPEECH
speak given text or translated text using speech plugin
$ ikazuchi speech -s “Ciao a tutti, Adoro l'Europython” -f it -t en
Mac OS X(10.6.6) is OK since it use “afplay” command
Other platform is maybe unstable :(
use another commands
use pyglet (with avbin) library
DEMO
2011年6月22日水曜日
SUMMARY
ikazuchi is for translation with a little help
simple CUI tool
can extend with various plugin
Documentation
http://t2y.bitbucket.org/ikazuchi/build/html/index.html
can extend ikazuchi
plugin architecture (it’s very simple)
can extend with Handler as you like
2011年6月22日水曜日