discourage vs generate

discourage

verb
  • To extinguish the courage of; to dishearten; to depress the spirits of; to deprive of confidence; to deject. 

  • To persuade somebody not to do (something). 

noun
  • Lack of courage 

generate

verb
  • To bring into being; give rise to. 

  • To produce as a result of a chemical or physical process. 

  • To procreate, beget. 

  • To form a figure from a curve or solid. 

  • To appear or occur; be generated. 

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