WordNet::

LookupError class

Lookup error - the object being looked up either doesn’t exist or is malformed