In the NLP (Natural Language Processing) field, Python has a good reputation, so I want to learn about it. The first step is to configure the python environment on the computer. The Python editor is too simple to use, so you need to configure pydev in myeclipse for python development.
I searched for the configuration method on the Internet and found that there were very few web pages about configuring Dev Based on myeclipse10, and there were a lot of configuration items to be configured. So I tried it myself and finally succeeded. In general, this work takes two major steps: 1. Download and install pydev from the marketplace of myeclipse; 2. Configure the python interpreter. The next step is the specific operation.
Step 1: Install python. My installation directory: D: \ python33 \
I installed the latest version of python3.3.2. : Http://python.org/download/ installation process is more common, no need to say more.
Step 2: Install myeclipse10. I will not talk about it here. You can refer
Http://xly3000.blog.163.com/blog/static/1324247201231111857484/ (installation and activation of myeclipse10)
Step 3: Open myeclipse and run help> eclipse marketplace. The following window is displayed. Enter pydev in the text box after "find" and press Enter.
Step 4: click the "Install" button next to pydev and select install pydev.
Step 5: Select "pydev for Eclipse ",Note: you do not need to select "pydev mylyn integration" here ".By default, both items are selected. We need to manually cancel the second one.
Step 6: accept the license.
Step 7: Start to download and install mydev for eclipse
Step 8: restart myeclipse.
Step 9: configure the python interpreter. After restarting myeclipse, You need to configure the python interpreter that has been installed.
Run window> preferences> pydev> interpreter python. The following window is displayed.
Click "new" and enter the following information:
Directly OK, all configured.
Step 10: compile a pythonProgramTo test.
Run New> others and select pydev> pydev project.
Enter the project name and syntax version (3.0 can be selected here). Finish
Create a py file in the src directory
Input print ("Hello, world! ")
Run as-> Python run execution program. The result is as follows, indicating that the configuration is successful.
In addition, a good book, natural. Language. Processing. With. Python, is published in Chinese and English. Here, I would like to express my gratitude to the 51nlp website and to pay tribute to Chen Tao, the translation of this book!
Natural Language Processing with Python: http://pan.baidu.com/share/link? Consumer id = 2980112944 & UK = 386180026
natural language processing with Python (Chinese version): http://pan.baidu.com/share/link? Consumer id = 2944710069 & UK = 386180026