List of usage examples for edu.stanford.nlp.trees GrammaticalRelation GrammaticalRelation
public GrammaticalRelation(Language language, String shortName, String longName, GrammaticalRelation parent)
From source file:opendial.bn.values.RelationalVal.java
License:Open Source License
private static GrammaticalRelation recordRelation(String rel) { return relations.computeIfAbsent(rel, l -> new GrammaticalRelation(Language.Any, l, l, GrammaticalRelation.ROOT)); }