Open
Description
For versioning reasons, I've been experimenting with updating the Stanford CoreNLP library to the latest (v4.5.4). However, an error is thrown for the CoreNLPUtils.java file, specifically the setRelation function. According to issue e7a7657 setRelation has been replaced in favor of updateEdge from SemanticGraph class.
Therefore (from CoreNLPUtils)
edge.setRelation(EnglishGrammaticalRelations.shortNameToGRel.get(oldRel.getShortName()));
should be replace with
semanticGraph.updateEdge(edge, EnglishGrammaticalRelations.shortNameToGRel.get(oldRel.getShortName()));
if latest version of CoreNLP is used.
Metadata
Metadata
Assignees
Labels
No labels