So, I'm trying to create a flashcard list of nouns, and for each entry I want to have all the possible information about that noun. Since this is what most dictionaries do, I figured I would add: The gender of the noun, the nominative singular form, the genitive singular form, and the nominative plural. This should in theory give me enough information to deduce everything else. For example, I can get the dative plural of a noun, given the nominative plural, using the simple rules of: Always add an ‘n’ to the nominative plural, unless the nominative plural already ends in ‘n’ or it ends in ‘s’.
A question then arises, when it comes to masculine nouns (which can be weak or strong), how can one tell the accusative and dative singular declension given only the nominative and genitive singular? I kind of have a theory which so far works with the few nouns I’ve experimented with, but I’m not sure if it can be made into a general rule:
-”If the genitive singular ending has an ‘n’, then the accusative and dative singular are the same as the genitive minus the ‘s’ at the end, if it exists at all. If the genitive ending does not have an ‘n’, then the accusative and dative singular are not declined”.
Some examples of what this looks like in practice (notice that the first element inside the parenthesis represents the genitive singular ending and the second the nominative plural ending):
Der computer (-s, -): The genitive ending does not have an ‘n’, therefore the accusative and dative are not declined. And indeed that is right.
Der Mann (-es, ¨-er): The genitive ending does not have an ‘n’, therefore the accusative and dative are not declined. And indeed that is right.
Der Nachbar (-n, -n): The genitive ending does have an ‘n’, therefore the accusative and dative are the same as genitive without the ‘s’. But since the genitive does not have an ‘s’, the accusative and dative endings are exactly -n. And indeed that is right.
Der Mensch (-en, -en): The genitive ending does have an ‘n’, therefore the accusative and dative are the same as genitive without the ‘s’. But since the genitive does not have an ‘s’, the accusative and dative endings are exactly -en. And indeed that is right.
Der Glaube (-ns, -n): The genitive ending does have an ‘n’, therefore the accusative and dative are the same as genitive without the ‘s’. This means that the dative and accusative ending would be exactly -n. And that is indeed right.
There is one exception I found and that is the noun Das Herz, however this one is kind of in a class of its own, is not even a masculine noun and somehow has week noun-like declensions.
So my question is, is my theory right? Will I encounter some cases where this doesn’t apply? If so, is there any existing rule for one to deduce accusative and dative singular declension while only having the information mentioned above? If not then I might need to add the accusative and dative declension for nouns, so it would look like this: Der Glaube (-n, -n, -ns, -n) (accusative, dative, genitive, plural).