NLTK Source
NLTK -- the Natural Language Toolkit -- is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. NLTK requires Python version from 3.10 up to the latest 3.14.
For documentation, please visit nltk.org.
Do you want to contribute to NLTK development? Great! Please read CONTRIBUTING.md for more details.
See also how to contribute to NLTK.
Have you found the toolkit helpful? Please support NLTK development by donating to the project via PayPal, using the link on the NLTK homepage.
If you publish work that uses NLTK, please cite the NLTK book, as follows:
Bird, Steven, Edward Loper and Ewan Klein (2009).
Natural Language Processing with Python. O'Reilly Media Inc.Copyright (C) 2001-2026 NLTK Project
For license information, see LICENSE.txt.
AUTHORS.md contains a list of everyone who has contributed to NLTK.
WordNet corpus is reported as downloaded but cannot be found by WordNetLemmatizer
NaiveBayes most_informative_features ranks perfectly separating features as least informative (#184 still reproduces)
LineTokenizer.span_tokenize() doesn't split in `keep` mode (passes literal `\n`, not a newline)
sandboxed-open guard misses from-import aliases, pathlib methods, and reuses "secured" names across functions
During vulnerability scanning through JFROG , we have encountered CVSS 7.0 v3 high security vulnerability through nltk:3.10.3
CI flake inventory: three distinct flake classes behind the 2026 failures
Path traversal in model-artifact APIs bypasses pathsec
To contributors and agents scanning Github issues to create new pull requests
nltk.corpus.reader.NKJPCorpusReader fails on Python 3.x
Proposal: Simplify complete hierarchical traversal (strict + instance relations) for `Synset`