debugging of nlp algo
major debugging, ranges now intact, categories much cleaner