commend vs take one's hat off to

commend

verb
  • To congratulate or reward. 

  • To recommend. 

  • To entrust or commit to the care of someone else. 

  • To praise or acclaim. 

  • To mention by way of courtesy, implying remembrance and goodwill. 

take one's hat off to

verb
  • To praise or thank; to congratulate. 

  • To remove one's hat as a sign of respect to. 

How often have the words commend and take one's hat off to occurred in a corpus of books? (source: Google Ngram Viewer )