Is there any way to add a new location to the list of places where nltk looks for the wordnet corpus?

Solution 1:

import nltk;

Now, nltk.data.path is a list of locations where to search for the modules. You can just do:

nltk.data.path.append("your location/directory");

Solution 2:

It seems that you need to set the environment variable "NLTK_DATA" to tell NLTK where to look. http://nltk.org/data.html