captivity vs incarceration

captivity

noun
  • The state of being captive. 

  • The state or period of being imprisoned, confined, or enslaved. 

incarceration

noun
  • The act of confining, or the state of being confined; imprisonment. 

  • A constriction of the hernial sac, rendering it irreducible, but not great enough to cause strangulation. 

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