Solving the mysteries of Ernest Hemingway and William Shakespeare