Dictionary approach is fragile
Asking translators to first come up with a list of five-letter words and then insert formatting in them is prone to breaking. Can’t you handle the slash thing in your code? A list of five-letter words should be enough.