bad humour vs nastiness

bad humour

noun
  • irritability or surliness 

  • a state of irritability or surliness 

nastiness

noun
  • Unpleasantness, disagreeableness (to the senses). 

  • Lack of cleanliness. 

  • Indecency; corruption; unkindness, meanness, spite, harshness, cruelty. 

  • Dirt, filth. 

  • A nasty action, object, quality, etc. (all senses of nasty). 

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