deprecate vs encourage

deprecate

verb
  • To belittle or express disapproval of. 

  • To declare something obsolescent; to recommend against a function, technique, command, etc. that still works but has been replaced. 

encourage

verb
  • To mentally support; to motivate, give courage, hope or spirit. 

  • To spur on, strongly recommend. 

  • To foster, give help or patronage 

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