Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.
jawahar edited this page Apr 25, 2017 · 21 revisions

Welcome to the practNLPTools-lite wiki!

If there is an issue in stanford parser.

If the stanford parser can not be copy into installing location. So for quick working on Dependence parser the one possible solution I am asking you to follow, until the issue is resolved.

  1. Assigning the location like this annotator=Annotator();annotator.stp_dir="location_pls" with respect to your os environment or follow the below steps
  2. please use the this package without installing(as local package without installing) which have stanford-parser.jar inside
  3. Placing the stanford-parser.jar explicitly inside the installing in linux on python 3.x usual location is /usr/local/lib/python3.5/dist-packages/pntl
  4. if you are using Anaconda distribution python the possible location is /home/<user_name>/anaconda3/lib/python3.5/site-packages/pntl/ (without virtual environment)
  5. For Windows if you have install python in C: the go to the path
    c:\users\<user_name_here>\local\programs\python3<just_version_number_here>\lib\site-packages\pntl or for Anaconda Python distribution C:\anaconda3\Lib\site-packages\pntl

Note:- In Anaconda distribution it has its own version number so please change if you have to and change the Python version according which is present in your system. For windows there is no need to .(dot) in between version number of Python.

Clone this wiki locally