hand shandy vs onanism

hand shandy

noun
  • An act of masturbation. 

onanism

noun
  • Masturbation. 

  • Ejaculating outside the vagina during intercourse; (the performing of) coitus interruptus. 

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