curse of Tom vs flying the red flag

curse of Tom

flying the red flag

How often have the words curse of Tom and flying the red flag occurred in a corpus of books? (source: Google Ngram Viewer )