- Install
conda
or if installed runconda update -n base -c defaults conda
- Run
conda create -n VPE python=3.6
(Pattern (used for verb conjugation) and the BLLIP Parser don't support later versions of python). - Run
conda activate VPE
- Run
conda install nltk pip
- Run
conda install -c stanfordnlp stanza
- Follow the instructions for installing the Stanford CoreNLP suite as instructed here https://github.com/stanfordnlp/stanza#accessing-java-stanford-corenlp-software
- This might be unecessary but run
python -m pip install --upgrade pip
- Run
pip install bllipparser pattern
- Run
python -mbllipparser.ModelFetcher -l
to see the list of available models for the BLLIP Parser. - Run
python -mbllipparser.ModelFetcher -i <Model Name>
to install a particular model (currently the code uses =WSJ+Gigaword=). - You will have to alter
rule-out.py
andtrees-latex.py
to reflect the path where you have installed the model. In the case of my Linux machine the path is/home/<username>/.local/share/bllipparser/
- For Windows, building
bllipparser
is trickier, a list of builds for Windows are available here https://github.com/BLLIP/bllip-parser#other-versions-of-the-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
etgld/VP-Ellipsis-Rule-Out
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Rule based methods towards ruling out the presence of VP Ellipsis in English sentences. Along with code for converting constituency parser output to trees for LaTeX's forest package.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published