refrain vs shun

refrain

verb
  • To stop oneself from some action or interference; to abstain. 

  • To abstain from (food or drink). 

noun
  • The chorus or burden of a song repeated at the end of each verse or stanza. 

  • A much repeated comment, complaint, or saying. 

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