2. 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
4. 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
5. 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
6. AS CUI TOOL
DEMO
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
2011 6 22
7. FOR VIM EMBEDDED
translate RST file within VIM using ikazuchi plugin
1,3:pyfile ~/bin/raimei DEMO
can keep RST format along with translated text
2011 6 22
8. 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 :(
DEMO
use another commands
use pyglet (with avbin) library
2011 6 22
9. 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