I built a ruby-gem “mitab” that helps in parsing a PSI-Mitab file.

Installing the gem:

$ gem install mitab

Working with the gem:

require 'mitab'

text = open(filename) { |f| f.read }
m = Mitab::MitabParser.new(text)

m.print
puts m.mitab
puts m.nodes
puts m.scores
puts m.links

Check out the Mitab Gem. File all bugs/feature requests at Mitab’s GitHub repo. If you have questions, you can mail them to prasunanand.bitsp@gmail.com