Python Library: nltk

leading platform for building Python programs to work with human language data.

25 Sep 2022

Library resources
PyPI ---

To properly capitalise sentences, someone suggested the Python Natural Language Toolkit, NLTK.

Getting Started

pip3 install --user -U nltk

After installing the NLTK package,install the necessary datasets/models for specific functions to work.

If you’re unsure of which datasets/models you’ll need, you can install the “popular” subset of NLTK data, on the command line type

python -m nltk.downloader popular

or in the Python interpreter

import nltk;'popular')

For details, see