Sentence:  The entire text is <WSD>imbued</WSD> with the sense of melancholy and hopelessness. 
Meaning of the word marked with <WSD> tags:  In general, to act in a way which results in an object becoming completely permeated or impregnated by some quality.