brig vs dungeon

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. 

dungeon

noun
  • An underground prison or vault, typically built underneath a castle. 

  • A room dedicated to sadomasochistic sexual activity. 

  • An area inhabited by enemies, containing story objectives, treasure and bosses. 

verb
  • To imprison in a dungeon. 

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