occasionally vs periodically

occasionally

adv
  • From time to time; sometimes; at relatively infrequent intervals. 

periodically

adv
  • intermittently or recurrently 

  • In a manner that is regular or periodic. 

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