debar vs ostracize

debar

verb
  • 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. 

  • To exclude or shut out; to bar. 

  • To hinder or prevent. 

ostracize

verb
  • To ban a person from a city for five or ten years through the procedure of ostracism. 

  • To exclude a person from a community or from society by not communicating with them or by refusing to acknowledge their presence; to refuse to associate with or talk to; to shun. 

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