Enum Class Phrase.Type

java.lang.Object
java.lang.Enum<Phrase.Type>
org.episteme.social.linguistics.Phrase.Type
All Implemented Interfaces:
Serializable, Comparable<Phrase.Type>, Constable
Enclosing class:
Phrase

public static enum Phrase.Type extends Enum<Phrase.Type>
Functional categories of phrases based on their head word.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Enum Constant Details

    • NOUN_PHRASE

      public static final Phrase.Type NOUN_PHRASE
      Governed by a noun (e.g., 'the big red cat').
    • VERB_PHRASE

      public static final Phrase.Type VERB_PHRASE
      Governed by a verb (e.g., 'carefully runs').
    • ADJECTIVE_PHRASE

      public static final Phrase.Type ADJECTIVE_PHRASE
      Governed by an adjective (e.g., 'extremely happy').
    • ADVERB_PHRASE

      public static final Phrase.Type ADVERB_PHRASE
      Governed by an adverb (e.g., 'quite quickly').
    • PREPOSITIONAL_PHRASE

      public static final Phrase.Type PREPOSITIONAL_PHRASE
      Governed by a preposition (e.g., 'under the bridge').
    • CLAUSE

      public static final Phrase.Type CLAUSE
      A syntactic structure containing a subject and a predicate.
    • UNKNOWN

      public static final Phrase.Type UNKNOWN
      Classification unknown.
  • Method Details

    • values

      public static Phrase.Type[] 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 Phrase.Type 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