detain vs incarcerate

detain

verb
  • To put under custody. 

  • To seize goods for official purposes. 

  • To keep back or from; to withhold. 

  • To keep someone from proceeding by holding them back or making claims on their attention. 

incarcerate

verb
  • To lock away; to imprison, especially for breaking the law. 

  • To confine; to shut up or enclose; to hem in. 

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