Ikazuchi introduction for Europython 2011 LT

865 views

Published on

ikazuchi helps to translate document using web translate APIs efficiently. ikazuchi is intended to work with other tools since it's a CUI tool.

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

Ikazuchi introduction for Europython 2011 LT

  1. 1. IKAZUCHI INTRODUCTION 2011/6/22 t2y2011 6 22
  2. 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/t2y19792011 6 22
  3. 3. MY TRANSLATIONS en: 978-1847194947 Expert Python programming Author : Tarek Ziadé ja: 978-4048686297 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/ja2011 6 22
  4. 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 feature2011 6 22
  5. 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/buildout2011 6 22
  6. 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 lEuropython” -f it -t en2011 6 22
  7. 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 text2011 6 22
  8. 8. TEXT TO SPEECH speak given text or translated text using speech plugin $ ikazuchi speech -s “Ciao a tutti, Adoro lEuropython” -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) library2011 6 22
  9. 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 like2011 6 22

×