|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WordCategory>
com.baseprogramming.lang.WordCategory
public enum WordCategory
Enum Constant Summary | |
---|---|
ADJETIVE
A word or phrase naming an attribute, added to or grammatically related to a noun to modify or describe it |
|
ADVERB
A word or phrase that modifies or qualifies an adjective, verb, or other adverb or a word-group, expressing a relation of place, time, circumstance, manner, cause, degree, etc. |
|
ANATOMICAL_STRUCTURE
|
|
CITY
|
|
CONJUNCTION
A word used to connect clauses or sentences or to coordinate words in the same clause (e.g., and, but, if) |
|
DEFINITE_ARTICLE
A determiner (the in English) that introduces a noun phrase and implies that the thing mentioned has already been mentioned, or is common knowledge, or is about to be defined (as in the book on the table; the art of government; the famous poet and short story writer) |
|
DESEASE
|
|
DESEASE_CAUSE
|
|
FIRST_NAME
|
|
FIRST_NAME_FEMALE
|
|
FIRST_NAME_MALE
|
|
INDEFINITE_ARTICLE
A determiner (a and an in English) that introduces a noun phrase and implies that the thing referred to is nonspecific (as in she bought me a book; government is an art; he went to a public school). |
|
INTERJECTION
An exclamation, e.g., ah! or dear me! |
|
INTRANSITIVE_VERB
A verb that is associated with only one noun or noun phrase. |
|
LAST_NAME
|
|
MEDICAL_SYMPTOM
|
|
MEDICAL_SYMPTOM_CAUSE
|
|
MEDICAL_TREAMTENT
|
|
NOMINATIVE
Relating to or denoting a case of nouns, pronouns, and adjectives (as in Latin and other inflected languages) used for the subject of a verb |
|
NOUN
A word (other than a pronoun) used to identify any of a class of people, places, or things (common noun), or to name a particular one of these (proper noun) |
|
NOUN_PHRASE
A word or group of words that functions in a sentence as subject, object, or prepositional object |
|
PLURAL
The form of a word that is used to denote more than one |
|
PREPOSITION
A word governing, and usually preceding, a noun or pronoun and expressing a relation to another word or element in the clause, as in “the man on the platform,” “she arrived after dinner,” “what did you do it for?” |
|
PRONOUN
A word that can function by itself as a noun phrase and that refers either to the participants in the discourse (e.g., I, you) or to someone or something mentioned elsewhere in the discourse (e.g., she, it, this) |
|
PROPER_NOUN
A name used for an individual person, place, or organization, spelled with initial capital letters, e.g., Larry, Mexico, and Boston Red Sox |
|
SIDE_EFFECT
|
|
STATE
|
|
TRANSITIVE_VERB
a verb (or verb construction) that requires an object in order to be grammatical |
|
VERB
A word used to describe an action, state, or occurrence, and forming the main part of the predicate of a sentence, such as hear, become, happen |
Method Summary | |
---|---|
static WordCategory |
forId(java.lang.String id)
|
java.lang.String |
getId()
|
static WordCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WordCategory[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WordCategory NOUN
public static final WordCategory PLURAL
public static final WordCategory NOUN_PHRASE
public static final WordCategory VERB
public static final WordCategory TRANSITIVE_VERB
public static final WordCategory INTRANSITIVE_VERB
public static final WordCategory ADJETIVE
public static final WordCategory ADVERB
public static final WordCategory CONJUNCTION
public static final WordCategory PREPOSITION
public static final WordCategory INTERJECTION
public static final WordCategory PRONOUN
public static final WordCategory DEFINITE_ARTICLE
public static final WordCategory INDEFINITE_ARTICLE
public static final WordCategory NOMINATIVE
public static final WordCategory PROPER_NOUN
public static final WordCategory FIRST_NAME
public static final WordCategory FIRST_NAME_MALE
public static final WordCategory FIRST_NAME_FEMALE
public static final WordCategory LAST_NAME
public static final WordCategory CITY
public static final WordCategory STATE
public static final WordCategory ANATOMICAL_STRUCTURE
public static final WordCategory MEDICAL_SYMPTOM
public static final WordCategory MEDICAL_SYMPTOM_CAUSE
public static final WordCategory SIDE_EFFECT
public static final WordCategory DESEASE
public static final WordCategory DESEASE_CAUSE
public static final WordCategory MEDICAL_TREAMTENT
Method Detail |
---|
public static WordCategory[] values()
for (WordCategory c : WordCategory.values()) System.out.println(c);
public static WordCategory 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
public static WordCategory forId(java.lang.String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |