Thread:User talk:CodeCat/it-noun problem/reply (4)

Lua is definitely not just for speed. It also has a lot more features that make certain tasks much easier. Generating inflected forms is certainly one of those tasks. The current setup, with separate parameters giving the stem and the ending, is really unnecessary for Lua because Lua can do string matching and replacement. The module could easily detect that the page name ends in -o and just replace that with -i to form the plural. So then only one parameter, the gender, would be needed for most nouns.