boredom vs melancholy

boredom

noun
  • An instance or period of being bored; A bored state. 

  • The state of being bored. 

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 boredom and melancholy occurred in a corpus of books? (source: Google Ngram Viewer )