sanction vs shun

sanction

verb
  • To ratify; to make valid. 

  • To penalize (a state etc.) with sanctions. 

  • To give official authorization or approval to; to countenance. 

noun
  • An approval, by an authority, generally one that makes something valid. 

  • A penalty, punishment, or some coercive measure, intended to ensure compliance; especially one adopted by several nations, or by an international body. 

  • A law, treaty, or contract, or a clause within a law, treaty, or contract, specifying any of the above. 

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 sanction and shun occurred in a corpus of books? (source: Google Ngram Viewer )