house of correction vs military prison

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. 

military prison

noun
  • A prison operated by the military. 

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