NLTK – Python Machine Learning Setup

“The Natural Language Toolkit, or more commonly NLTK, is a suite of libraries and programs for symbolic and statistical natural language processing for English written in the Python programming language.” Source Wikipedia

Setup and test screenshots below:

Text:

import nltk
nltk.download()
from nltk.corpus import names
print(names.words()[:200])
print(len(names.words()))

 

Test run output to verify installation:

 

 

Using this further:

… coming soon