Update nlp.py