Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a one-liner to enable the use of the RNN parser model #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions corenlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def __init__(self, corenlp_path=None):
"""
jars = ["stanford-corenlp-3.4.1.jar",
"stanford-corenlp-3.4.1-models.jar",
"ejml-0.23.jar", # required by RNN model
"joda-time.jar",
"xom.jar",
"jollyday.jar"]
Expand Down
3 changes: 3 additions & 0 deletions default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ annotators = tokenize, ssplit, pos, lemma, ner, parse, dcoref
#nfl.entity.model = /scr/nlp/data/ldc/LDC2009E112/Machine_Reading_P1_NFL_Scoring_Training_Data_V1.2/models/nfl_entity_model.ser
#printable.relation.beam = 20

#use the RNN parser
#parse.model = edu/stanford/nlp/models/lexparser/englishRNN.ser.gz

#parser.model = /u/nlp/data/lexparser/englishPCFG.ser.gz

#srl.verb.args=/u/kristina/srl/verbs.core_args
Expand Down