Articles → NLP → NLTK Corpus

NLTK Corpus






What Is A Corpus?





Popular Corpus


CorpusDescription
nltk.corpus.gutenberg classic literature
nltk.corpus.brownBrown corpus (early standard corpus of English)
nltk.corpus.stopwords common stopwords in many languages
nltk.corpus.wordnet lexical database of English words and their relations
nltk.corpus.movie_reviewsmovie reviews (positive/negative sentiment)



Example




import nltk


# Download corpus data (first time only)
nltk.download("gutenberg", quiet=True)


from nltk.corpus import gutenberg
# List available Gutenberg texts
print(gutenberg.fileids())




Output


Picture showing the output of gutenberg nltk corpus



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, August 19, 2025

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250