
上QQ阅读APP看书,第一时间看更新
NLTK
Natural language processing is one of the most used applications in machine learning projects. NLTK is a Python package that helps developers and data scientists manage and manipulate large quantities of text. NLTK can be installed by using the following command:
pip install -U nltk

Now, import nltk:
>>> import nltk
Install nltk packages with:
> nltk.download()

You can install all of the packages:

If you are using a command-line environment, you just need to follow the steps:

If you hit all, you will download all of the packages:
