give what for vs read someone the riot act

give what for

verb
  • To scold; to punish, especially verbally. 

read someone the riot act

verb
  • To scold or berate somebody; to reprimand. 

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