devote vs undertake

devote

verb
  • to give one's time, focus one's efforts, commit oneself, etc. entirely for, on, or to a certain matter 

  • to execrate; to curse 

  • to consign over; to doom 

undertake

verb
  • To commit oneself (to an obligation, activity etc.). 

  • To pass a slower moving vehicle on the curbside rather than on the side closest to oncoming traffic. 

  • To take upon oneself; to start, to embark on (a specific task etc.). 

noun
  • The passing of slower traffic on the curbside rather than on the side closest to oncoming traffic. 

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