If you’re using ConceptNet and you see:
ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
To replicate the error run:
from csc.nl import get_nl
en_nl = get_nl('en')
The fix is to run:
which sets up Django, the call is_stopword again and all is fine.
Ian applies Data Science as an AI/Data Scientist for companies in ModelInsight, sign-up for Data Science tutorials in London. Historically Ian ran Mor Consulting. He also founded the image and text annotation API Annotate.io, co-authored SocialTies, programs Python, authored The Screencasting Handbook, lives in London and is a consumer of fine coffees.