anticipate vs undertake

anticipate

verb
  • to take up or introduce (something) prematurely. 

  • to eagerly wait for (something) 

  • to know of (something) before it happens; to expect. 

  • To act before (someone), especially to prevent an action. 

undertake

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

  • 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. 

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

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