'such' is usually an adjective, meaning approximately 'of the same kind as ...'.
'Who ever saw such people' ('who ever saw people of this kind'). 'Was there ever such a big tree?' (Was there ever a tree which had the kind of bigness that this tree has).
Personification
Figure of speech
adjective
THEY HAVE BOTH
simile
Onomatopoeia
Figure of speech is the use of word or phrase to interpret a certain idea. The second figure of speech means, continuing the same sentence or making a comparison with the idea in the previous sentence.
Metonymy is a figure of speech where one word is substituted for another word that is closely related to it, while metaphor is a figure of speech where a word or phrase is used to describe something by suggesting a resemblance.
it is a figure of speech like talking to someone
personification
Onomatopoeia
The word 'dog' is a noun, a word for a type of animal, a word for a thing.The word 'dog' is a verb, meaning to follow someone persistently.