brig vs jailhouse

brig

noun
  • A jail or guardhouse, especially in a naval military prison or jail on a ship, navy base, or (in fiction) spacecraft. 

  • A two-masted vessel, square-rigged on both foremast and mainmast 

  • Bridge. 

  • Brigadier. 

jailhouse

noun
  • A building containing a prison. 

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