The development environment of NLP is mainly divided into the following steps:
- Python installation
NLTK System Installation
Python3.5 Download and install
- Download Link: https://www.python.org/downloads/release/python-354/
- Installation steps:
- Double-click the download good python3.5 installation package, as;
- Choose the default installation or custom installation, the general default installation is good, skip to step 5, customize the next step 3,ps:add Python3.5 to path tick, eliminate the trouble of configuring environment variables ;
- Select some of the required settings;
- Tick some advanced options;
- Wait for the installation to complete;
- Installation ends;
Test the installation is successful, console input python
, the following prompts indicate that the installation was successful;
NLTK System Installation
- The use of PIP installation, console input
pip install nltk
, will start the installation, the installation may be slow, patience, because the author has been installed, so the prompt has been installed,PS: The installation process may be error, which is due to the need to install a dependency package, The error message in the dependency package installed before continuing to install the NLTK on it ;
- Test the installation success, open the console into the Python environment, import the NLTK package, download the NLTK packet;
Wait for all packet caches to finish, the environment is set up, isn't so easy!
NLP Natural Language Processing development environment construction