diff --git a/corenlp.py b/corenlp.py index 753e51c..bec9581 100644 --- a/corenlp.py +++ b/corenlp.py @@ -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"] diff --git a/default.properties b/default.properties index e069ea9..f36a7fc 100644 --- a/default.properties +++ b/default.properties @@ -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