In German language, you can't just take randomly reference for gender of nouns according to your native language. For identifying nouns you have to learn either by heart or through some hacks which is given above.