alter vs deviate

alter

verb
  • To become different. 

  • To castrate, neuter or spay (a dog or other animal). 

  • To change the form or structure of. 

  • To tailor clothes to make them fit. 

  • To affect mentally, as by psychotropic drugs or illness. 

noun
  • An identity or headmate of a person with dissociative identity disorder (previously known as multiple personality disorder). A member of a system. 

deviate

verb
  • To go off course from; to change course; to change plans. 

  • To cause to diverge. 

  • To fall outside of, or part from, some norm; to stray. 

noun
  • A person with deviant behaviour; a deviant, degenerate or pervert. 

  • A value equal to the difference between a measured variable factor and a fixed or algorithmic reference value. 

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