ostracize vs shun

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. 

shun

verb
  • To avoid, especially persistently; ostracize. 

  • To screen, hide. 

  • To escape (a threatening evil, an unwelcome task etc). 

  • To shove, push. 

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