Sentence:  Pam realized , to her surprise , that she had been <WSD>almost</WSD> dozing . 
Meaning of the word marked with <WSD> tags:  (of actions or states) slightly short of or not quite accomplished; all but