|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MRCPoS>
jmrc.MRCPoS
public enum MRCPoS
MRC part-of-speech tags.
| Enum Constant Summary | |
|---|---|
ADJECTIVE
|
|
ADVERB
|
|
CONJUNCTION
|
|
INTERJECTION
|
|
NOUN
|
|
OTHER
|
|
PAST_PARTICIPLE
|
|
PREPOSITION
|
|
PRONOUN
|
|
VERB
|
|
| Method Summary | |
|---|---|
static java.util.Set<MRCPoS> |
getAll()
|
static MRCPoS |
getMRCPoS(java.lang.String pos)
Returns the MRCPoS associated with the string, if it exists, else returns null. |
static void |
init()
Initialization procedure required using this class. |
static int |
posCount()
Returns the number of part-of-speech tags in the database. |
java.lang.String |
toString()
Returns the string symbol of the part-of-speech. |
static MRCPoS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MRCPoS[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MRCPoS NOUN
public static final MRCPoS ADJECTIVE
public static final MRCPoS ADVERB
public static final MRCPoS VERB
public static final MRCPoS PAST_PARTICIPLE
public static final MRCPoS PREPOSITION
public static final MRCPoS CONJUNCTION
public static final MRCPoS PRONOUN
public static final MRCPoS INTERJECTION
public static final MRCPoS OTHER
| Method Detail |
|---|
public static final MRCPoS[] values()
for(MRCPoS c : MRCPoS.values())
System.out.println(c);
public static MRCPoS 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 namepublic static void init()
public static int posCount()
public static java.util.Set<MRCPoS> getAll()
public static MRCPoS getMRCPoS(java.lang.String pos)
pos - part-of-speech string.
public java.lang.String toString()
toString in interface PoStoString in class java.lang.Enum<MRCPoS>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||