Package opennlp.tools.util.normalizer
Enum Class EmojiEntityType
- All Implemented Interfaces:
Serializable,Comparable<EmojiEntityType>,Constable
The coarse entity type of an annotated emoji, a small project-authored taxonomy assigned from
the subgroup headers of the upstream Unicode
emoji-test.txt (Emoji Keyboard/Display Test
Data for UTS #51): for example the
face-smiling and face-concerned subgroups map to FACE and
transport-ground maps to VEHICLE. The subgroup a bundled record was derived
from is cited in the notes column of emoji-annotations.txt, provenance-tagged
UCD:emoji-test.
The set is deliberately coarse and grows with the bundled data; a new constant is a
compatible addition. FLAG is assigned by the derived layer (regional-indicator and tag
sequence decoding), never by a bundled row, so flag coverage does not depend on data
rows.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn animal, from theanimal-*subgroups.A face pictograph, from theface-*subgroups.A flag; assigned by the derived layer from the code point sequence itself.Food, from thefood-*subgroups.A heart pictograph, from theheartsubgroup.A landmark or building, from theplace-*subgroups.A vehicle, from thetransport-*subgroups. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmojiEntityTypeReturns the enum constant of this class with the specified name.static EmojiEntityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FACE
A face pictograph, from theface-*subgroups. -
HEART
A heart pictograph, from theheartsubgroup. -
ANIMAL
An animal, from theanimal-*subgroups. -
FOOD
Food, from thefood-*subgroups. -
VEHICLE
A vehicle, from thetransport-*subgroups. -
LANDMARK
A landmark or building, from theplace-*subgroups. -
FLAG
A flag; assigned by the derived layer from the code point sequence itself.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-