Sentence:  There sober thought pursued the amusing theme, / Till Fancy coloured it and formed a <WSD>dream</WSD>. 
Meaning of the word marked with <WSD> tags:  A visionary scheme; a wild conceit; an idle fancy.