constraint vs discouragement

constraint

noun
  • Something that constrains; a restriction. 

  • An irresistible force or compulsion. 

  • A condition that a solution to an optimization problem must satisfy. 

  • A linkage or other restriction that maintains database integrity. 

  • The repression of one's feelings. 

discouragement

noun
  • Anything that discourages. 

  • The act of discouraging. 

  • The loss of confidence or enthusiasm. 

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