Enum SynsetType

    • Enum Constant Detail

      • 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 Detail

      • values

        public static SynsetType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SynsetType c : SynsetType.values())
            System.out.println(c);
        
        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
      • getValue

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