This repository has been archived by the owner on Jun 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Home
jawahar edited this page Apr 25, 2017
·
21 revisions
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.
- Assigning the location like this
annotator=Annotator();annotator.stp_dir="location_pls"
with respect to your os environment or follow the below steps - please use the this package without installing(as local package without installing) which have
stanford-parser.jar
inside - 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
- if you are using Anaconda distribution python the possible location is
/home/<user_name>/anaconda3/lib/python3.5/site-packages/pntl/
(withoutvirtual environment
) - 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 distributionC:\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.