defect vs weakness

defect

noun
  • A fault or malfunction. 

  • A part by which a figure or quantity is wanting or deficient. 

  • The quantity or amount by which anything falls short. 

verb
  • To desert one's army, to flee from combat. 

  • To abandon or turn against; to cease or change one's loyalty, especially from a military organisation or political party. 

  • To flee one's country and seek asylum. 

  • To join the enemy army. 

weakness

noun
  • An inadequate quality; fault 

  • The condition of being weak. 

  • A special fondness or desire. 

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