house of correction vs house of detention

house of correction

noun
  • A prison. 

  • A kind of residential penitentiary facility, built after the passing of the Elizabethan Poor Law (1601), where those who were "unwilling to work", including vagrants and beggars, were set to work. 

house of detention

noun
  • A prison, especially a temporary one. 

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