castigation vs punishment

castigation

noun
  • severe criticism. 

punishment

noun
  • A suffering by pain or loss imposed as retribution 

  • A penalty to punish wrongdoing, especially for crime. 

  • Any harsh treatment or experience; rough handling. 

  • The act or process of punishing, imposing and/or applying a sanction. 

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