官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 许昌县| 杂多县| 民县| 和田县| 新源县| 静宁县| 阆中市| 黑水县| 永德县| 阿勒泰市| 应用必备| 尖扎县| 威远县| 顺昌县| 江山市| 孝义市| 盐津县| 平南县| 建德市| 岐山县| 邵武市| 镇坪县| 永春县| 潼关县| 大同县| 望城县| 津南区| 嘉祥县| 德格县| 安塞县| 广丰县| 南充市| 合阳县| 罗平县| 漠河县| 张北县| 吉林市| 鄄城县| 沂南县| 鹤峰县| 德昌县|