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

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:

主站蜘蛛池模板: 西畴县| 抚州市| 定西市| 修文县| 仁寿县| 开平市| 河曲县| 淅川县| 琼中| 罗山县| 霍邱县| 遵义县| 额敏县| 大安市| 桂阳县| 怀化市| 翁源县| 怀化市| 保靖县| 万载县| 洛隆县| 子洲县| 武邑县| 全南县| 三门县| 镇远县| 平凉市| 桓仁| 中西区| 清河县| 平谷区| 错那县| 隆安县| 新宾| 余庆县| 慈利县| 财经| 天水市| 哈密市| 商城县| 鄱阳县|