toform
Purpose
Converts a string value to the specified grammatical value, unlike the norm() function, which converts the specified argument to the initial word form.
Arguments
Requires two arguments. The first argument is grammatical_category, which specifies the exact form of the required argument (number, case, gender, etc.). The second required argument is a named group that must be converted to a specific grammatical category.
-
If a word has several variable grammatical categories, for example, a noun has this number and case, then when one of them is indicated, the rest will remain unchanged: toform(nominative, countries') returns "countries", not "country".
-
Several grammatical categories can be listed with underscores, for example: nominative_plural.