exile vs ostracism

exile

noun
  • The state of being banished from one's home or country. 

  • Someone who is banished from their home or country. 

verb
  • To send (someone or something) into exile. 

ostracism

noun
  • Temporary exclusion from a community or society. 

  • In ancient Athens (and some other cities), the temporary banishment by popular vote of a citizen considered dangerous to the state. 

  • Banishment by some general consent. 

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