public enum GrammaticalTense extends Enum<GrammaticalTense>
IWiktionaryWordForm.
Note that tense is often combined with verb aspects (e.g., present
perfect). Such combinations can be modeled in combination with
enumeration values from GrammaticalAspect.| Enum Constant and Description |
|---|
FUTURE
The future; an utterance refers to the time after a reference time.
|
PAST
The past; an utterance refers to the time before a reference time.
|
PRESENT
The present; an utterance refers to the reference time.
|
| Modifier and Type | Method and Description |
|---|---|
static GrammaticalTense |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrammaticalTense[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrammaticalTense PAST
public static final GrammaticalTense PRESENT
public static final GrammaticalTense FUTURE
public static GrammaticalTense[] values()
for (GrammaticalTense c : GrammaticalTense.values()) System.out.println(c);
public static GrammaticalTense valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.