public static enum GrammaticalStructure.Extras extends java.lang.Enum<GrammaticalStructure.Extras>
NONE.| Enum Constant and Description |
|---|
MAXIMAL
Do the maximal amount of extra processing.
|
NONE
Don't include any additional edges.
|
REF_COLLAPSED_AND_SUBJ |
REF_ONLY_COLLAPSED
Include only the extra reference edges, but collapsing these edges to clone the edge type of the referent.
|
REF_ONLY_UNCOLLAPSED
Include only the extra reference edges, and save them as reference edges without collapsing.
|
REF_UNCOLLAPSED_AND_SUBJ |
SUBJ_ONLY
Add extra subjects only, not adding any of the other extra edge types.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
collapseRef
collapse the "ref" edges
|
boolean |
doRef
Add "ref" edges
|
boolean |
doSubj
Add extra subject edges
|
| Modifier and Type | Method and Description |
|---|---|
static GrammaticalStructure.Extras |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GrammaticalStructure.Extras[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrammaticalStructure.Extras NONE
Don't include any additional edges.
Note: In older code (2014 and before) including extras was a boolean flag. This option is the equivalent of
the false flag.
public static final GrammaticalStructure.Extras REF_ONLY_UNCOLLAPSED
public static final GrammaticalStructure.Extras REF_ONLY_COLLAPSED
public static final GrammaticalStructure.Extras SUBJ_ONLY
public static final GrammaticalStructure.Extras REF_UNCOLLAPSED_AND_SUBJ
SUBJ_ONLY,
REF_ONLY_UNCOLLAPSEDpublic static final GrammaticalStructure.Extras REF_COLLAPSED_AND_SUBJ
SUBJ_ONLY,
REF_ONLY_COLLAPSEDpublic static final GrammaticalStructure.Extras MAXIMAL
Do the maximal amount of extra processing.
Currently, this is equivalent to REF_COLLAPSED_AND_SUBJ.
Note: In older code (2014 and before) including extras was a boolean flag. This option is the equivalent of
the true flag.
public final boolean doRef
public final boolean doSubj
public final boolean collapseRef
public static GrammaticalStructure.Extras[] values()
for (GrammaticalStructure.Extras c : GrammaticalStructure.Extras.values()) System.out.println(c);
public static GrammaticalStructure.Extras 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 null