I wrote a solution with a stdin/out interface and a webrick interface.
You can test the webrick interface at http://v-jix.homeip.net:2005/ .
My dictionary is 2of4brif.txt . I'm going to post my code after the
no-spoiler period.

--
Jannis Harder