brig vs slammer

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. 

slammer

noun
  • jail, prison. 

  • One who, or that which, slams. 

  • One who competes in a poetry slam. 

  • A tequila cocktail that is slammed onto a surface to induce fizzing. 

  • One who takes part in slam-dance. 

  • In the game of Pogs, the heavier piece used to strike the stack of counters. 

  • A slam-door train. 

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