castigate vs vilify

castigate

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

  • To revise or make corrections to a publication. 

  • To punish or reprimand someone severely. 

vilify

verb
  • To say defamatory things about someone or something; to speak ill of. 

  • To belittle through speech; to put down. 

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