palpitation vs spasm

palpitation

noun
  • An abnormal beating of the heart that may be perceived by the patient, a result of excitement, exertion, or illness. 

spasm

noun
  • A sudden and temporary burst of energy, activity, or emotion. 

  • A sudden, involuntary contraction of a muscle, a group of muscles, or a hollow organ. 

  • A violent, excruciating seizure of pain. 

verb
  • To produce and undergo a spasm or series of spasms. 

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