Sentence:  I had for some time been <WSD>hoping</WSD> , in vain , for one of the dim figures to pass between the fan vents and myself . 
Meaning of the word marked with <WSD> tags:  be optimistic; be full of hope; have hopes