If you want to go deeper, you also have to takes into account the grammatical roles the word has in the sentence.
I personally think it’s not worth it.
See https://en.wikipedia.org/wiki/Latin_declension