I just made a simple ruby script that reads the RI yaml file from the
local drive and generate the dictionary content which you can use via
Apple Dictionary Application. What’s more important is that I put it up
on my GitHub repository. You can find it here http://github.com/crossbreeze/apple_dic_generator_from_ri/tree/master
The code looks really ugly. But as I am pretty new to Ruby world, I
figured I would learn much faster and better from other people’s
comment, advice or even contribution to the source code. If interested,
take a look at the code and improve it.