Sentence:  But in <WSD>bed</WSD> he had trouble sleeping . 
Meaning of the word marked with <WSD> tags:  a piece of furniture that provides a place to sleep