Sentence:  He had taken her upstairs to say <WSD>good</WSD> night . 
Meaning of the word marked with <WSD> tags:  a conventional expression of farewell