condolences vs melancholy

condolences

noun
  • comfort, support, or sympathy offered especially to the family and friends of somebody who has died. 

intj
  • Expressing sympathy to someone, especially after learning of a close death. 

melancholy

noun
  • Great sadness or depression, especially of a thoughtful or introspective nature. 

  • Black bile, formerly thought to be one of the four "cardinal humours" of animal bodies. 

adj
  • Affected with great sadness or depression. 

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