avoid vs refrain

avoid

verb
  • To stay out of the way of (something harmful). 

  • To try not to do something or to have something happen 

  • to keep away from; to keep clear of; to stay away from 

  • To try not to meet or communicate with (a person); to shun 

  • To make void, to annul; to refute (especially a contract). 

  • To defeat or evade; to invalidate. 

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. 

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