Constructor for the Ending
class.
The string that represents the ending.
Function that specifies the changes that will happen to the string.
Constructor for the Ending
class.
The string that represents the ending.
The number of characters that will be sliced off the string before the adjective conversion.
the ending that will be appended to the string after the slicing.
Function that specifies the changes that will happen to the string.
A function that determines how a word is transformed when turned into an adjective.
The new characters added to turn the word into an adjective.
The negative of the amount of characters that are removed at the end.
The pattern at the end of a word.
Applies the ending to a string, doing the necessary modifications.
The string to modify.
The grammatical gender used to build the adjective.
The name, modified into an adjective.
Helper function for BaseLanguage.toAdjective
. Finds the ending that fits a string among a list of endings. Uses a modified binary search.
The string for which we want to match an ending.
The sorted list of endings that name
will be compared to.
The first ending that matches, or null
if none does.
Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM
Helper class for the [[
Adjective
]] module. Stores endings of words and what to do with them.