compliment vs give what for

compliment

verb
  • To pay a compliment (to someone); to express a favourable opinion (of someone). 

noun
  • An expression of praise, congratulation, or respect. 

  • Complimentary language; courtesy, flattery. 

give what for

verb
  • To scold; to punish, especially verbally. 

How often have the words compliment and give what for occurred in a corpus of books? (source: Google Ngram Viewer )