invite vs ward off

invite

verb
  • To encourage. 

  • To ask for the presence or participation of someone or something. 

  • To allure; to draw to; to tempt to come; to induce by pleasure or hope; to attract. 

  • To request formally. 

noun
  • An invitation. 

ward off

verb
  • To avert or prevent. 

  • To parry, or turn aside. 

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