Shakespeare influenced novelists such as Thomas Hardy, William Faulkner, and Charles Dickens. The American novelist Herman Melville's soliloquies owe much to Shakespeare; his Captain Ahab in "Moby-Dick" is a classic tragic hero, inspired by "King Lear". Scholars have identified 20,000 pieces of music linked to Shakespeare's works. These include three operas by Giuseppe Verdi, "Macbeth", "Otello" and "Falstaff", whose critical standing compares with that of the source plays. Shakespeare has also inspired many painters, including the Romantics and the Pre-Raphaelites. The Swiss Romantic artist Henry Fuseli, a friend of William Blake, even translated "Macbeth" into German. The psychoanalyst Sigmund Freud drew on Shakespearean psychology, in particular, that of Hamlet, for his theories of human nature.