pleasant vs warning

pleasant

adj
  • Giving pleasure; pleasing in manner. 

warning

intj
  • Used to warn of danger in signs and notices. 

noun
  • Something spoken or written that is intended to warn. 

  • The action of the verb warn; an instance of warning someone. 

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