public enum SimpleSegmentationUnit extends Enum<SimpleSegmentationUnit>
| Enum Constant and Description |
|---|
DISCOURSE_UNIT |
GRAMMATICAL_SENTENCE |
GRAPHEM |
LEXEME |
MORPHEM |
ORTHOGRAPHIC_SENTENCE |
OTHER |
PARAGRAPH |
PHONEM |
PHRASE |
SYLLABLE |
TEXT |
TEXT_UNIT |
| Modifier and Type | Method and Description |
|---|---|
static SimpleSegmentationUnit |
fromValue(String v) |
String |
value() |
static SimpleSegmentationUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleSegmentationUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleSegmentationUnit GRAPHEM
public static final SimpleSegmentationUnit PHONEM
public static final SimpleSegmentationUnit MORPHEM
public static final SimpleSegmentationUnit SYLLABLE
public static final SimpleSegmentationUnit LEXEME
public static final SimpleSegmentationUnit PHRASE
public static final SimpleSegmentationUnit ORTHOGRAPHIC_SENTENCE
public static final SimpleSegmentationUnit GRAMMATICAL_SENTENCE
public static final SimpleSegmentationUnit PARAGRAPH
public static final SimpleSegmentationUnit TEXT_UNIT
public static final SimpleSegmentationUnit TEXT
public static final SimpleSegmentationUnit OTHER
public static final SimpleSegmentationUnit DISCOURSE_UNIT
public static SimpleSegmentationUnit[] values()
for (SimpleSegmentationUnit c : SimpleSegmentationUnit.values()) System.out.println(c);
public static SimpleSegmentationUnit 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 nullpublic String value()
public static SimpleSegmentationUnit fromValue(String v)
Copyright © 2014. All rights reserved.