Enum Class Tag

java.lang.Object
java.lang.Enum<Tag>
com.github.oeuvres.alix.fr.Tag
All Implemented Interfaces:
Serializable, Comparable<Tag>, Constable

public enum Tag extends Enum<Tag>
Jeu d’étiquettes morphosyntaxique pour le français.
  • Enum Constant Details

    • NULL

      public static final Tag NULL
      No information
    • UNKNOWN

      public static final Tag UNKNOWN
      Known as unknown from dicitonaries
    • XML

      public static final Tag XML
      XML tag
    • TEST

      public static final Tag TEST
      Message send by a process
    • VERB

      public static final Tag VERB
      Semantic verb
    • VERBaux

      public static final Tag VERBaux
      Auxiliary verb
    • VERBaux2

      public static final Tag VERBaux2
      Semi-auxiliary verb
    • VERBmod

      public static final Tag VERBmod
      Modal verb
    • VERBexpr

      public static final Tag VERBexpr
      Expression verb
    • VERBppass

      public static final Tag VERBppass
      Participle past
    • VERBger

      public static final Tag VERBger
      Participle present
    • SUB

      public static final Tag SUB
      Substantive
    • SUBpers

      public static final Tag SUBpers
      Person title
    • SUBplace

      public static final Tag SUBplace
      Adress substantive
    • ADJ

      public static final Tag ADJ
      Adjective
    • NAME

      public static final Tag NAME
      Proper name, unknown from dictionaries
    • NAMEpers

      public static final Tag NAMEpers
      Personal name
    • NAMEpersm

      public static final Tag NAMEpersm
      Masculine firstname
    • NAMEpersf

      public static final Tag NAMEpersf
      Feminine firstname
    • NAMEplace

      public static final Tag NAMEplace
      Place name
    • NAMEorg

      public static final Tag NAMEorg
      Organisation name
    • NAMEpeople

      public static final Tag NAMEpeople
      People name
    • NAMEevent

      public static final Tag NAMEevent
      Event name
    • NAMEauthor

      public static final Tag NAMEauthor
      Author name
    • NAMEfict

      public static final Tag NAMEfict
      Fiction character name
    • NAMEgod

      public static final Tag NAMEgod
      God name
    • ADV

      public static final Tag ADV
      Significative adverb
    • ADVneg

      public static final Tag ADVneg
      Negation adverb
    • ADVinter

      public static final Tag ADVinter
      Question adverb
    • ADVscen

      public static final Tag ADVscen
      Space-time adverb
    • ADVasp

      public static final Tag ADVasp
      Aspect adverb
    • ADVdeg

      public static final Tag ADVdeg
      Gradation adverb
    • ADVmod

      public static final Tag ADVmod
      Modal adverb
    • DET

      public static final Tag DET
      Determiner, other than below
    • DETart

      public static final Tag DETart
      Article
    • DETprep

      public static final Tag DETprep
      Prepositional determiner
    • DETnum

      public static final Tag DETnum
      Numbers
    • DETindef

      public static final Tag DETindef
      Quantifiers
    • DETinter

      public static final Tag DETinter
      Interrogative determiner
    • DETdem

      public static final Tag DETdem
      Demonstrative determiner
    • DETposs

      public static final Tag DETposs
      Possesive determiner
    • PRO

      public static final Tag PRO
      Pronouns, other than below
    • PROpers

      public static final Tag PROpers
      Personal pronouns
    • PROindef

      public static final Tag PROindef
      Indefinite pronouns
    • PROdem

      public static final Tag PROdem
      Demonstrative pronouns
    • PROposs

      public static final Tag PROposs
      Possessive pronouns
    • CONN

      public static final Tag CONN
      Connectors, other than below
    • CONJcoord

      public static final Tag CONJcoord
      Coordinating conjunction
    • CONJsub

      public static final Tag CONJsub
      Coordinating conjunction
    • ADVconj

      public static final Tag ADVconj
      Adverbial conjunction
    • PREP

      public static final Tag PREP
      Preposition
    • NUM

      public static final Tag NUM
      Numeral, other than below
    • NUMno

      public static final Tag NUMno
      Ordinal
    • REF

      public static final Tag REF
      Reference
    • MATH

      public static final Tag MATH
      Math operator
    • NUMunit

      public static final Tag NUMunit
      Units
    • PUN

      public static final Tag PUN
      Punctuation, other than below
    • PUNclause

      public static final Tag PUNclause
      Clause punctuation
    • PUNsent

      public static final Tag PUNsent
      Sentence punctuation
    • PUNpara

      public static final Tag PUNpara
      Paragraph punctuation
    • PUNsection

      public static final Tag PUNsection
      Section punctuation
    • MISC

      public static final Tag MISC
      Misc
    • ABBR

      public static final Tag ABBR
      Abbreviation (maybe name, substantive…)
    • EXCL

      public static final Tag EXCL
      Exclamation
    • PARTdem

      public static final Tag PARTdem
      Demonstrative particle
    • STOP

      public static final Tag STOP
      Stop word
    • NOSTOP

      public static final Tag NOSTOP
      Non stop word
    • LOC

      public static final Tag LOC
      Locution (maybe substantive, conjunction…)
  • Field Details

    • flag

      public final int flag
      A structured bit flag between 0-255
    • parent

      public final int parent
      The first hexa digit, used as a type grouping
    • name

      public final String name
      A name without spaces
    • label

      public final String label
      A french label for humans
    • desc

      public final String desc
      A line of explanation
  • Method Details

    • values

      public static Tag[] 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 Tag 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
    • sameParent

      public boolean sameParent(int flag)
      Check if Tag share same parent, by number.
      Parameters:
      flag - Number of a Tag.
      Returns:
      True if tags have same class.
    • parent

      public static Tag parent(int flag)
      Return parent Tag by number
      Parameters:
      flag - Number of a Tag.
      Returns:
      The parent Tag.
    • label

      public String label()
      Return the String value of the tag.
      Returns:
      Label.
    • desc

      public String desc()
      Return the String description of the tag.
      Returns:
      Description.
    • flag

      public int flag()
      Return the identifier number for this tag.
      Returns:
      The identifier number.
    • flag

      public static int flag(Chain name)
      Returns the identifier number of a Tag, by name.
      Parameters:
      name - A mutable Tag name.
      Returns:
      The identifier number of a Tag.
    • flag

      public static int flag(String name)
      Get Tag number by name.
      Parameters:
      name - A tag name.
      Returns:
      The identifier number of a Tag.
    • tag

      public static Tag tag(int flag)
      Get Tag by number.
      Parameters:
      flag - A Tag identifier number.
      Returns:
      A Tag.
    • name

      public static String name(int flag)
      Get Tag name by number identifier.
      Parameters:
      flag - Tag identifier number.
      Returns:
      Name of a Tag.
    • label

      public static String label(int flag)
      Get Tag label by number identifier.
      Parameters:
      flag - Tag identifier number.
      Returns:
      Label of a Tag.