castigate vs have someone's hide

castigate

verb
  • To punish or reprimand someone severely. 

  • To revise or make corrections to a publication. 

  • To execrate or condemn something in a harsh manner, especially by public criticism. 

have someone's hide

verb
  • To punish or subdue someone. 

How often have the words castigate and have someone's hide occurred in a corpus of books? (source: Google Ngram Viewer )