alert vs give a warning to

alert

noun
  • An alarm. 

  • A state of readiness for potential combat. 

  • A notification of higher importance than an advisory. 

verb
  • To give warning to. 

adj
  • Attentive; awake; on guard. 

give a warning to

How often have the words alert and give a warning to occurred in a corpus of books? (source: Google Ngram Viewer )