How to know the genre of an article from its title

Let me introduce the ancient texts: those ending with "Shu" are political treatises presented to the emperor, "Ten Thoughts on Remonstrance to Taizong" and "On Accumulation and Storage":

With Those ending in "book" are mostly for writing letters, mostly for recall writing, which are very formal, such as "Book of Remonstrance and Expulsion from Guests" and "Book of Letters to My Wife".

Most of the poems ending with "行" or "Yin" are long-form poems in ancient style such as "War Chariots", "Pipa Xing", "Peach Blossoms" and "The Burial of Flowers"

Things that end with "蔔" or start with "奔" are mourning texts, such as "Fu Rong Daughter's Poems" and "Mourning for the Twelve Langs"

I can't think of anything else. I hope it will be helpful to you. Helpful