sixamoと話すIRC bot
sixamoと話せるBot::BasicBot::Pluggableのプラグインを作ってみました。
http://svn.coderepos.org/share/lang/perl/Bot-BasicBot-Pluggable-Module-Collection/trunk/lib/Bot/BasicBot/Pluggable/Module/Sixamo.pm
以下のように、botの設定ファイルのyamlに、utf8に変換したsixamo.rbのパスとsixamoの辞書のディレクトリのパスを指定してやれば使えるようになってます。
server: irc.example.net port: 6667 nick: bbpbot_ username: bbpbot_ charset: utf-8 modules: - module: Sixamo config: sixamo_path: '/home/dann/tools/sixamo/sixamo.rb' dictionary_dir: '/home/dann/tools/sixamo/data_directory' channels: - #bbpbot-test