Enum Class EmojiEntityType

java.lang.Object
java.lang.Enum<EmojiEntityType>
opennlp.tools.util.normalizer.EmojiEntityType
All Implemented Interfaces:
Serializable, Comparable<EmojiEntityType>, Constable

public enum EmojiEntityType extends Enum<EmojiEntityType>
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), with documented exceptions: 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 Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    An animal, from the animal-* subgroups.
    A face pictograph, from the face-* subgroups.
    A flag; assigned by the derived layer from the code point sequence itself.
    Food, from the food-* subgroups.
    A hand gesture, from the hand-* subgroups.
    A heart pictograph, from the heart subgroup.
    A landmark or building, derived from the place-* subgroups, with a documented exception: U+1F6D9 LIGHTHOUSE is tagged LANDMARK by this project (upstream emoji-test.txt subgroup is transport-water).
    A sky or weather phenomenon, from the sky & weather subgroup.
    A hand tool or writing implement, from the tool and writing subgroups.
    A vehicle, from the transport-* subgroups.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FACE

      public static final EmojiEntityType FACE
      A face pictograph, from the face-* subgroups.
    • HEART

      public static final EmojiEntityType HEART
      A heart pictograph, from the heart subgroup.
    • ANIMAL

      public static final EmojiEntityType ANIMAL
      An animal, from the animal-* subgroups.
    • FOOD

      public static final EmojiEntityType FOOD
      Food, from the food-* subgroups.
    • VEHICLE

      public static final EmojiEntityType VEHICLE
      A vehicle, from the transport-* subgroups.
    • LANDMARK

      public static final EmojiEntityType LANDMARK
      A landmark or building, derived from the place-* subgroups, with a documented exception: U+1F6D9 LIGHTHOUSE is tagged LANDMARK by this project (upstream emoji-test.txt subgroup is transport-water).
    • HAND

      public static final EmojiEntityType HAND
      A hand gesture, from the hand-* subgroups.
    • SKY_AND_WEATHER

      public static final EmojiEntityType SKY_AND_WEATHER
      A sky or weather phenomenon, from the sky & weather subgroup.
    • TOOL

      public static final EmojiEntityType TOOL
      A hand tool or writing implement, from the tool and writing subgroups.
    • FLAG

      public static final EmojiEntityType FLAG
      A flag; assigned by the derived layer from the code point sequence itself.
  • Method Details

    • values

      public static EmojiEntityType[] 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

      public static EmojiEntityType valueOf(String name)
      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 name
      NullPointerException - if the argument is null