What is NLTK?
NLTK (Natural Language Toolkit) is an open-source Python library for natural language processing, created at the University of Pennsylvania in the early 2000s. It provides tools for tokenisation, stemming, part-of-speech tagging and simple classification, as well as access to numerous text corpora. NLTK is used mainly in teaching and research; production applications often rely on libraries such as spaCy or on transformer models.