Example usage for edu.stanford.nlp.trees GrammaticalRelation GrammaticalRelation

List of usage examples for edu.stanford.nlp.trees GrammaticalRelation GrammaticalRelation

Introduction

In this page you can find the example usage for edu.stanford.nlp.trees GrammaticalRelation GrammaticalRelation.

Prototype

public GrammaticalRelation(Language language, String shortName, String longName, GrammaticalRelation parent) 

Source Link

Usage

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));
}