public static enum Test.TypedDependencyMode extends java.lang.Enum<Test.TypedDependencyMode>
Enum Constant and Description |
---|
BASIC |
BASICNOEXTRA |
CCPROCESSED |
CCPROCESSEDNOEXTRA |
COLLAPSED |
COLLAPSEDNOEXTRA |
COLLAPSEDTREE |
Modifier and Type | Field and Description |
---|---|
static Test.TypedDependencyMode |
defaultMode |
Modifier and Type | Method and Description |
---|---|
boolean |
ccProcess()
Whether this mode is ccprocessed
|
boolean |
collapse()
Whether this mode is collapsed
|
edu.stanford.nlp.trees.GrammaticalStructure.Extras |
extras()
Whether this mode has extras
|
boolean |
hasExtras()
Whether this mode has extras
|
edu.stanford.nlp.semgraph.SemanticGraphFactory.Mode |
mode() |
(package private) static java.util.List<Test.TypedDependencyMode> |
reverseValues() |
edu.stanford.nlp.semgraph.SemanticGraph |
sg(edu.stanford.nlp.trees.GrammaticalStructure gs) |
edu.stanford.nlp.semgraph.SemanticGraph |
sg(edu.stanford.nlp.trees.Tree t) |
edu.stanford.nlp.semgraph.SemanticGraph |
sg(edu.stanford.nlp.trees.Tree t,
edu.stanford.nlp.trees.GrammaticalStructure gs0,
boolean renew) |
boolean[] |
split()
Split composite value
|
java.util.Collection<edu.stanford.nlp.trees.TypedDependency> |
td(edu.stanford.nlp.trees.GrammaticalStructure gs) |
java.util.Collection<edu.stanford.nlp.trees.TypedDependency> |
td(edu.stanford.nlp.trees.Tree t,
edu.stanford.nlp.trees.GrammaticalStructure gs0,
boolean renew) |
boolean |
tree()
Whether this mode is tree
|
static Test.TypedDependencyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Test.TypedDependencyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Test.TypedDependencyMode BASIC
public static final Test.TypedDependencyMode BASICNOEXTRA
public static final Test.TypedDependencyMode COLLAPSED
public static final Test.TypedDependencyMode COLLAPSEDNOEXTRA
public static final Test.TypedDependencyMode COLLAPSEDTREE
public static final Test.TypedDependencyMode CCPROCESSED
public static final Test.TypedDependencyMode CCPROCESSEDNOEXTRA
public static Test.TypedDependencyMode defaultMode
public static Test.TypedDependencyMode[] values()
for (Test.TypedDependencyMode c : Test.TypedDependencyMode.values()) System.out.println(c);
public static Test.TypedDependencyMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullstatic java.util.List<Test.TypedDependencyMode> reverseValues()
public edu.stanford.nlp.semgraph.SemanticGraphFactory.Mode mode()
public boolean[] split()
public boolean collapse()
public edu.stanford.nlp.trees.GrammaticalStructure.Extras extras()
public boolean hasExtras()
public boolean ccProcess()
public boolean tree()
public java.util.Collection<edu.stanford.nlp.trees.TypedDependency> td(edu.stanford.nlp.trees.GrammaticalStructure gs)
public java.util.Collection<edu.stanford.nlp.trees.TypedDependency> td(edu.stanford.nlp.trees.Tree t, edu.stanford.nlp.trees.GrammaticalStructure gs0, boolean renew)
public edu.stanford.nlp.semgraph.SemanticGraph sg(edu.stanford.nlp.trees.GrammaticalStructure gs)
public edu.stanford.nlp.semgraph.SemanticGraph sg(edu.stanford.nlp.trees.Tree t)
public edu.stanford.nlp.semgraph.SemanticGraph sg(edu.stanford.nlp.trees.Tree t, edu.stanford.nlp.trees.GrammaticalStructure gs0, boolean renew)