Sentence:  Pam <WSD>realized</WSD> , to her surprise , that she had been almost dozing . 
Meaning of the word marked with <WSD> tags:  be fully aware or cognizant of