castigate vs rake someone over the coals

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. 

rake someone over the coals

verb
  • To berate someone at length, usually from a position of authority or moral authority. 

How often have the words castigate and rake someone over the coals occurred in a corpus of books? (source: Google Ngram Viewer )