Sentence:  Mary had taken the whim into her <WSD>willful</WSD> head, and Jane could not dissuade her. 
Meaning of the word marked with <WSD> tags:  Stubborn and determined.