nightmare vs pang

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. 

verb
  • To have a nightmare. 

pang

noun
  • A sudden sharp feeling of an emotional or mental nature, as of joy or sorrow. 

  • A paroxysm of extreme physical pain or anguish; a feeling of sudden and transitory agony; a throe. 

verb
  • To cause to have great pain or suffering; to torment, to torture. 

  • simple past tense of ping 

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