nightmare vs unpleasant experience

nightmare

verb
  • To have a nightmare. 

noun
  • Any bad, miserable, difficult or terrifying situation or experience that arouses anxiety, terror, agony or great displeasure. 

  • A very bad or frightening dream. 

  • A feeling of extreme anxiety or suffocation experienced during sleep; Sleep paralysis. 

unpleasant experience

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