You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: