I found it useful to pass the NLTK_DATA environment variable when hosting Bookie in wsgi, otherwise I would get a MissingCorpusException. Other than the NLTK_DATA envvar, the library seems to look for the nltk data only in a handful of hardcoded paths.
I found it useful to pass the NLTK_DATA environment variable when hosting Bookie in wsgi, otherwise I would get a MissingCorpusException. Other than the NLTK_DATA envvar, the library seems to look for the nltk data only in a handful of hardcoded paths.