Sentence:  She bowed to him, to put him in a good <WSD>temper</WSD>. 
Meaning of the word marked with <WSD> tags:  State of mind; mood.