moved list_set to nlp.util from a views.py elsewhere