Enum Class POS

java.lang.Object
java.lang.Enum<POS>
org.luwrain.nlp.POS
All Implemented Interfaces:
Serializable, Comparable<POS>, Constable

public enum POS extends Enum<POS>
  • Enum Constant Details

    • UNKNOWN

      public static final POS UNKNOWN
    • NOUN

      public static final POS NOUN
    • VERB

      public static final POS VERB
    • ADD

      public static final POS ADD
    • NUM_QU

      public static final POS NUM_QU
    • NUM_ORD

      public static final POS NUM_ORD
  • Method Details

    • values

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