The nice thing about Lua is that you can do string operations. That makes it possible to look at the letters in a word and automatically change endings depending on them. You could probably eliminate some parameters that way.