excommunicate vs ostracize

excommunicate

verb
  • To exclude from any other group; to banish. 

  • To officially exclude someone from membership of a church or religious community. 

adj
  • Excommunicated. 

noun
  • An excommunicated person. 

ostracize

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

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

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