com.baseprogramming.lang
Enum WordCategory

java.lang.Object
  extended by java.lang.Enum<WordCategory>
      extended by com.baseprogramming.lang.WordCategory
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WordCategory>

public enum WordCategory
extends java.lang.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

NOUN

public static final WordCategory 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)


PLURAL

public static final WordCategory PLURAL
The form of a word that is used to denote more than one


NOUN_PHRASE

public static final WordCategory NOUN_PHRASE
A word or group of words that functions in a sentence as subject, object, or prepositional object


VERB

public static final WordCategory 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


TRANSITIVE_VERB

public static final WordCategory TRANSITIVE_VERB
a verb (or verb construction) that requires an object in order to be grammatical


INTRANSITIVE_VERB

public static final WordCategory INTRANSITIVE_VERB
A verb that is associated with only one noun or noun phrase.


ADJETIVE

public static final WordCategory ADJETIVE
A word or phrase naming an attribute, added to or grammatically related to a noun to modify or describe it


ADVERB

public static final WordCategory 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. (e.g., gently, quite, then, there)


CONJUNCTION

public static final WordCategory CONJUNCTION
A word used to connect clauses or sentences or to coordinate words in the same clause (e.g., and, but, if)


PREPOSITION

public static final WordCategory 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?”


INTERJECTION

public static final WordCategory INTERJECTION
An exclamation, e.g., ah! or dear me!


PRONOUN

public static final WordCategory 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)


DEFINITE_ARTICLE

public static final WordCategory 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)


INDEFINITE_ARTICLE

public static final WordCategory 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). Typically, the indefinite article is used to introduce new concepts into a discourse


NOMINATIVE

public static final WordCategory 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


PROPER_NOUN

public static final WordCategory 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


FIRST_NAME

public static final WordCategory FIRST_NAME

FIRST_NAME_MALE

public static final WordCategory FIRST_NAME_MALE

FIRST_NAME_FEMALE

public static final WordCategory FIRST_NAME_FEMALE

LAST_NAME

public static final WordCategory LAST_NAME

CITY

public static final WordCategory CITY

STATE

public static final WordCategory STATE

ANATOMICAL_STRUCTURE

public static final WordCategory ANATOMICAL_STRUCTURE

MEDICAL_SYMPTOM

public static final WordCategory MEDICAL_SYMPTOM

MEDICAL_SYMPTOM_CAUSE

public static final WordCategory MEDICAL_SYMPTOM_CAUSE

SIDE_EFFECT

public static final WordCategory SIDE_EFFECT

DESEASE

public static final WordCategory DESEASE

DESEASE_CAUSE

public static final WordCategory DESEASE_CAUSE

MEDICAL_TREAMTENT

public static final WordCategory MEDICAL_TREAMTENT
Method Detail

values

public static WordCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WordCategory c : WordCategory.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WordCategory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public java.lang.String getId()

forId

public static WordCategory forId(java.lang.String id)