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 );
73 '/u[ms]$/', # 2nd declension singular
74 '/a$/', # 1st declension singular
75 '/ommuniam$/', # 3rd declension neuter plural (partly)
76 '/libri$/',
'/nuntii$/',
'/datam$/', # 2nd declension plural (partly)
77 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
78 '/es$/' # 5th declension singular
84 'libros',
'nuntios',
'data',
85 'tionem',
'ntem',
'atem',
88 return preg_replace( $in, $out, $word );
92 '/u[ms]$/', # 2nd declension singular
93 '/ommunia$/', # 3rd declension neuter plural (partly)
94 '/a$/', # 1st declension singular
95 '/libri$/',
'/nuntii$/',
'/data$/', # 2nd declension plural (partly)
96 '/tio$/',
'/ns$/',
'/as$/', # 3rd declension singular (partly)
97 '/es$/' # 5th declension singular
103 'libris',
'nuntiis',
'datis',
104 'tione',
'nte',
'ate',
107 return preg_replace( $in, $out, $word );