peculiarity vs whim

peculiarity

noun
  • That which is peculiar; a special and distinctive characteristic or habit; particularity. 

  • Exclusive possession or right. 

  • The quality or state of being peculiar; individuality; singularity. 

whim

noun
  • A fanciful impulse, or sudden change of idea. 

  • A bird, the Eurasian wigeon. 

  • A large capstan or vertical drum turned by horse power or steam power, for raising ore or water, etc., from mines, or for other purposes 

verb
  • To be seized with a whim; to be capricious. 

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