congratulate oneself vs deprecate

congratulate oneself

deprecate

verb
  • To declare something obsolescent; to recommend against a function, technique, command, etc. that still works but has been replaced. 

  • To belittle or express disapproval of. 

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