Check for synonyms attribute on basestring
Check for synonyms attribute on basestring

An arbitrary string that matches the RE_SYNSET regex is not necessarily a Synset if it does not have the synonyms attribute.
sloria/TextBlob