Should work with pretty much all .mkv files, but i've only used this with HorribleSubs release of JoJo's Bizarre adventure
Place the subchanger.py and subs.txt file in the directory containing the .mkv files you want to edit and add the words you want to change to the subs.txt in format
original word:new word
You need to have FFMPEG