Thread:User talk:CodeCat/pt-verb/conj/reply (3)

Well, the templates that Daniel Carrero made are often quite convoluted.

As far as generating a table goes, I use the approach you see in Module:hu-nominals. At the bottom is a make_table function which takes a list of forms and puts them in a table. Everything in the tableCreator module could replaced with a function like that, in theory.

While having the endings as pure data can work, there are often situations where the preceding stem changes depending on what kind of ending is added, and other things like that. So my preference is to treat inflection types as functions, rather than as lists of endings. That way it's much easier to account for predictable changes.