advise vs warn

advise

verb
  • To give information or notice to; to inform or counsel; — with of before the thing communicated. 

  • To consider, to deliberate. 

  • To give advice to; to offer an opinion to, as worthy or expedient to be followed. 

  • To recommend; to offer as advice. 

  • To deliver judgment after a case has been reserved for further consideration. 

warn

verb
  • To notify or inform (someone, about something). 

  • To caution or admonish (someone) against unwise or unacceptable behaviour. 

  • To give warning. 

  • To summon (someone) to or inform of a formal meeting or duty. 

  • To advise or order to go or stay away. 

  • To make (someone) aware of impending danger, evil, etc. 

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