I found a rather brilliant British English poem and added the pronunciation next to it in IPA. I used Apple's Dictionary Service available in Python to parse all words and extract the pronunciation.

English Spelling screenshot