castigate vs pay tribute to

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. 

pay tribute to

How often have the words castigate and pay tribute to occurred in a corpus of books? (source: Google Ngram Viewer )