tweak class 14
minor changes to NLP class code