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

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:

主站蜘蛛池模板: 陆河县| 涞源县| 临潭县| 酒泉市| 马关县| 湘阴县| 周至县| 林甸县| 醴陵市| 和林格尔县| 朝阳市| 肃宁县| 田阳县| 沙雅县| 河南省| 鄂尔多斯市| 哈尔滨市| 甘孜| 渝北区| 禹州市| 西和县| 安阳县| 措勤县| 昌图县| 晋江市| 永靖县| 鄂尔多斯市| 镇平县| 二连浩特市| 拉孜县| 涞水县| 锡林郭勒盟| 溆浦县| 宾阳县| 安庆市| 芜湖市| 南通市| 灵璧县| 肃宁县| 布尔津县| 乌拉特中旗|