45 MediaWikiServices::getInstance()->getMainConfig()->get( MainConfigNames::GrammarForms );
46 if ( isset( $grammarForms[
'la'][$case][$word] ) ) {
47 return $grammarForms[
'la'][$case][$word];
54 '/u[ms]$/', # 2nd declension singular
55 '/ommunia$/', # 3rd declension neuter plural (partly)
56 '/a$/', # 1st declension singular
57 '/libri$/',
'/nuntii$/',
'/datae$/', # 2nd declension plural (partly)
58 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
59 '/es$/' # 5th declension singular
65 'librorum',
'nuntiorum',
'datorum',
66 'tionis',
'ntis',
'atis',
69 return preg_replace( $in, $out, $word );
74 '/u[ms]$/', # 2nd declension singular
75 '/a$/', # 1st declension singular
76 '/ommuniam$/', # 3rd declension neuter plural (partly)
77 '/libri$/',
'/nuntii$/',
'/datam$/', # 2nd declension plural (partly)
78 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
79 '/es$/' # 5th declension singular
85 'libros',
'nuntios',
'data',
86 'tionem',
'ntem',
'atem',
89 return preg_replace( $in, $out, $word );
94 '/u[ms]$/', # 2nd declension singular
95 '/ommunia$/', # 3rd declension neuter plural (partly)
96 '/a$/', # 1st declension singular
97 '/libri$/',
'/nuntii$/',
'/data$/', # 2nd declension plural (partly)
98 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
99 '/es$/' # 5th declension singular
105 'libris',
'nuntiis',
'datis',
106 'tione',
'nte',
'ate',
109 return preg_replace( $in, $out, $word );