Difference between revisions of "Template:Decliner"
From Jonathan Gardner's Latin Notebook
Line 47: | Line 47: | ||
if (m = /^(.*)(a|am|ae|as|arum|is)$/.exec(noun)) { | if (m = /^(.*)(a|am|ae|as|arum|is)$/.exec(noun)) { | ||
return m[1]+{ | return m[1]+{ | ||
− | + | singular: { | |
+ | nominative: 'a', | ||
+ | vocative: 'a', | ||
+ | accusative: 'am', | ||
+ | genitive: 'ae', | ||
+ | dative: 'ae', | ||
+ | ablative: 'a', | ||
}, | }, | ||
plural: { | plural: { | ||
+ | nominative: 'ae', | ||
+ | vocative: 'ae', | ||
+ | accusative: 'as', | ||
+ | genitive: 'arum', | ||
+ | dative: 'is', | ||
+ | ablative: 'is', | ||
} | } | ||
}[number][case_]; | }[number][case_]; |
Revision as of 15:41, 23 February 2012