calaboose vs up the river

calaboose

noun
  • A prison or jail/gaol. 

up the river

prep
  • To prison. 

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