castigate vs give bad press

castigate

verb
  • To revise or make corrections to a publication. 

  • To punish or reprimand someone severely. 

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

give bad press

How often have the words castigate and give bad press occurred in a corpus of books? (source: Google Ngram Viewer )