ostracize vs shut out

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. 

shut out

verb
  • To refuse to be open and vulnerable toward. 

  • To prevent from scoring; to perform a shutout. 

  • To hide from sight. 

  • To prevent from entering; to block or exclude. 

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