debar vs deter

debar

verb
  • To hinder or prevent. 

  • To exclude or shut out; to bar. 

  • To prohibit (a person or company that has been convicted of criminal acts in connection with a government program) from future participation in that program. 

deter

verb
  • To prevent something from happening. 

  • To persuade someone not to do something; to discourage. 

  • To distract someone from something. 

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