Skip to content

CoreNLP pipeline for deriving dependencies and lemmatize words.

Notifications You must be signed in to change notification settings

OlaRonning/ah16_corenlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoreNLP pipeline for Dependecies and Lemmas

The included scripts are for interaction with Dustin Smiths python-wrapper for Stanfords CoreNLP.

Setup

  1. Clone the python wrapper, and follow the instruction for installation.
  2. Copy coreNLP.py and gen_dep_lemma.py to the python wrapper directory

Parsing examples

Start the coreNLP server:

> python2 coreNLP.py &

Run the gen_dep_lemma.py script:

> python2 gen_dep_lemma.py linesWithAnnotations110716.json

Dependencies and lemma are written to dep_lemma.jsons

Use dep_lemma.jsons with the -d flag for makeFeats_withCataphora.py

About

CoreNLP pipeline for deriving dependencies and lemmatize words.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages