|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LexemeTypes>
org.cogroo.entities.LexemeTypes
public enum LexemeTypes
[Development] Describe the possible classification of a lexeme: word,
compound word, punctuation mark, other marks, number, hyphen.
It is required only while performing Corpus sentence realization (from corpus
notation to plain text).
Enum Constant Summary | |
---|---|
ANOTHER_MARK
Things like -- |
|
CLOSING_PUNCTUATION_MARK
Opening: The "new |
|
COMPOUND_WORD_SEQUENCE
|
|
HYPHEN
|
|
NUMBER
|
|
OPENING_PUNCTUATION_MARK
Closing: new old" |
|
WORD
|
Method Summary | |
---|---|
static LexemeTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LexemeTypes[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 LexemeTypes WORD
public static final LexemeTypes COMPOUND_WORD_SEQUENCE
public static final LexemeTypes OPENING_PUNCTUATION_MARK
normal punctuation: It is it, isn't it?
public static final LexemeTypes CLOSING_PUNCTUATION_MARK
public static final LexemeTypes ANOTHER_MARK
public static final LexemeTypes NUMBER
public static final LexemeTypes HYPHEN
Method Detail |
---|
public static LexemeTypes[] values()
for (LexemeTypes c : LexemeTypes.values()) System.out.println(c);
public static LexemeTypes valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |