Find Same Length Words in Glyphs?

Came across this on Twitter:


and was wondering if anyone could talk me through how to use the script in a Glyphs context.
I tried to just run the script pasted into the Macro window, and got a “No module named kerndump” error. Is this easily rectifiable?

The script has a subfolder called kerndump which contains extra modules and a text file with a dictionary. They need to be in the same folder as the .py file.