jack o'lantern vs jack-o-lantern

jack o'lantern

jack-o-lantern

How often have the words jack o'lantern and jack-o-lantern occurred in a corpus of books? (source: Google Ngram Viewer )