Which literary device has Emily Dickinson used in these lines?

How dreary to be somebody!

How public, like a frog

To tell your name the livelong day

1) metaphor

2) alliteration

3)simile

4)allusion