New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular string that matches RE_SYNSET throws AttributeError #178

tylerjharden opened this Issue Nov 6, 2017 · 0 comments


None yet
2 participants

tylerjharden commented Nov 6, 2017

I encountered this while processing sentiment using TextBlob of some live data scraped from the internet. The string field in question was of the value "c-17", which the PatternAnalyzer logic is expecting to be an instance of a Synset, complete with synonyms.

This is incorrect behavior, as it is attempting to access "synonyms" on an instance of an actual string. I have fixed this and will open a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment