attract vs invite

attract

verb
  • To draw by moral, emotional or sexual influence; to engage or fix, as the mind, attention, etc.; to invite or allure. 

  • To incur. 

  • To pull toward without touching. 

invite

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

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

  • To encourage. 

  • To request formally. 

noun
  • An invitation. 

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