Sentence:  Sometimes he would grunt softly to some invisible onlooker beside him , <WSD>sometimes</WSD> he would look stern and moralistic as his pencil did what he disapproved . 
Meaning of the word marked with <WSD> tags:  on certain occasions or in certain cases but not always; at other times for six months"