Which figure of speech is used in this text?
I wandered lonely as a cloud
That floats on high o'er vales and hills,
When all at once I saw a crowd,
A host, of golden daffodils . . . —William Wordsworth, "I Wandered Lonely as a Cloud"

 - anaphora
 - assonance
The text uses assonance, the repetition of a vowel sound in a series of nearby words.
The words lonely, floats, o'er, host, and golden share a vowel sound.