adding nltk LookupError handling