25 Sep 2022
Library resources | |
---|---|
PyPI | --- |
Github | https://github.com/nltk/nltk |
Documentation | https://www.nltk.org/ |
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; nltk.download('popular')
For details, see https://www.nltk.org/data.html