Fixes #550

https://github.com/nltk/nltk/issues/550