put up with vs shun

put up with

verb
  • To be taken in; to be sheltered (put up). 

  • To endure, tolerate, suffer through, or allow, especially something annoying. 

shun

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

  • To screen, hide. 

  • To avoid, especially persistently; ostracize. 

  • To shove, push. 

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