Hi,

  In mail "Re: Japanese to Japanese translator?"
    Dossy <dossy / panoptic.com> wrote:

> > There's a tool named "kakasi".
> 
> I just installed it and couldn't figure out how to get it working
> until I read the example in:
> 
>   http://www.notwork.org/~gotoken/ruby/p/kakasi/
> 
> (It seems there's no manpage for kakasi in the Debian distribution.)

kakasi is written in C. gotoken's is its ruby interface.
You can get kakasi from here:

  http://kakasi.namazu.org/stable/

Debian might be providing a package.
Simple usage of kakasi:

  ~ % cat srcfile
  今日も雨が降っている。
  (It's raining today, too.)

  ~ % cat srcfile | kakasi -Ha -Ka -Ja -Ea -ka -s
  kyou mo ame ga futte iru .

-- Minero Aoki