commitment vs undertaking

commitment

noun
  • State of being pledged or engaged. 

  • The act of being locked away, such as in an institution for the mentally ill or in jail. 

  • The trait of sincerity and focused purpose. 

  • The act of sending a legislative bill to committee for review. 

  • Official consignment sending a person to prison or a mental health institution. 

  • Promise or agreement to do something in the future, especially 

  • Being bound emotionally or intellectually to a course of action or to another person or persons. 

  • Perpetration as in a crime or mistake. 

  • Act of assuming a financial obligation at a future date. 

undertaking

noun
  • A promise or pledge; a guarantee. 

  • That which is undertaken; any business, work, or project which a person engages in, or attempts to perform; an enterprise. 

  • The business of an undertaker, or the management of funerals. 

  • The act of one who undertakes (in either sense). 

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