keep off vs swear off

keep off

verb
  • To stay or cause to stay at a distance (from). 

swear off

verb
  • To quit or cease completely, or to promise to quit, as a bad habit. 

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