take by surprise vs warn in advance

take by surprise

verb
  • to occur to someone when unexpected; to surprise 

warn in advance

How often have the words take by surprise and warn in advance occurred in a corpus of books? (source: Google Ngram Viewer )