Funny, I’ve been doing something similar some years ago. Also in Ruby and also using CSV’s. “Resurrected” the project when we made the new Auto Correct groups for TextExpander 4. https://github.com/Zettt/ab…
Yours is much better written though. I don’t want to look at my script anymore.