Enum SynsetType

java.lang.Object
java.lang.Enum<SynsetType>
it.uniroma1.lcl.kb.SynsetType
All Implemented Interfaces:
Tag<SynsetType>, Serializable, Comparable<SynsetType>, java.lang.constant.Constable

public enum SynsetType extends Enum<SynsetType> implements Tag<SynsetType>
A kind of Synset -- namely, named entity, concept or unknown.
Author:
navigli
  • Enum Constant Details

    • NAMED_ENTITY

      public static final SynsetType NAMED_ENTITY
      Named Entity is a word that clearly identifies one item.
    • CONCEPT

      public static final SynsetType CONCEPT
      A concept is an abstraction or generalization from experience
    • UNKNOWN

      public static final SynsetType UNKNOWN
      Unknown.
  • Method Details

    • values

      public static SynsetType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SynsetType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SynsetType>
    • getValue

      public SynsetType getValue()
      Description copied from interface: Tag
      Returns the tag value.
      Specified by:
      getValue in interface Tag<SynsetType>
      Returns:
      the tag value