restrain oneself vs shun

restrain oneself

shun

verb
  • To screen, hide. 

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

  • To avoid, especially persistently; ostracize. 

  • To shove, push. 

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