Package com.github.oeuvres.alix.fr
Enum Class Tag
- All Implemented Interfaces:
Serializable,Comparable<Tag>,Constable
Jeu d’étiquettes morphosyntaxique pour le français.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbbreviation (maybe name, substantive…)AdjectiveSignificative adverbAspect adverbAdverbial conjunctionGradation adverbQuestion adverbModal adverbNegation adverbSpace-time adverbCoordinating conjunctionCoordinating conjunctionConnectors, other than belowDeterminer, other than belowArticleDemonstrative determinerQuantifiersInterrogative determinerNumbersPossesive determinerPrepositional determinerExclamationLocution (maybe substantive, conjunction…)Math operatorMiscProper name, unknown from dictionariesAuthor nameEvent nameFiction character nameGod nameOrganisation namePeople namePersonal nameFeminine firstnameMasculine firstnamePlace nameNon stop wordNo informationNumeral, other than belowOrdinalUnitsDemonstrative particlePrepositionPronouns, other than belowDemonstrative pronounsIndefinite pronounsPersonal pronounsPossessive pronounsPunctuation, other than belowClause punctuationParagraph punctuationSection punctuationSentence punctuationReferenceStop wordSubstantivePerson titleAdress substantiveMessage send by a processKnown as unknown from dicitonariesSemantic verbAuxiliary verbSemi-auxiliary verbExpression verbParticiple presentModal verbParticiple pastXML tag -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondesc()Return the String description of the tag.intflag()Return the identifier number for this tag.static intReturns the identifier number of aTag, by name.static intGet Tag number by name.label()Return the String value of the tag.static Stringlabel(int flag) Get Tag label by number identifier.static Stringname(int flag) Get Tag name by number identifier.static Tagparent(int flag) Return parent Tag by numberbooleansameParent(int flag) Check if Tag share same parent, by number.static Tagtag(int flag) Get Tag by number.static TagReturns the enum constant of this class with the specified name.static Tag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NULL
No information -
UNKNOWN
Known as unknown from dicitonaries -
XML
XML tag -
TEST
Message send by a process -
VERB
Semantic verb -
VERBaux
Auxiliary verb -
VERBaux2
Semi-auxiliary verb -
VERBmod
Modal verb -
VERBexpr
Expression verb -
VERBppass
Participle past -
VERBger
Participle present -
SUB
Substantive -
SUBpers
Person title -
SUBplace
Adress substantive -
ADJ
Adjective -
NAME
Proper name, unknown from dictionaries -
NAMEpers
Personal name -
NAMEpersm
Masculine firstname -
NAMEpersf
Feminine firstname -
NAMEplace
Place name -
NAMEorg
Organisation name -
NAMEpeople
People name -
NAMEevent
Event name -
NAMEauthor
Author name -
NAMEfict
Fiction character name -
NAMEgod
God name -
ADV
Significative adverb -
ADVneg
Negation adverb -
ADVinter
Question adverb -
ADVscen
Space-time adverb -
ADVasp
Aspect adverb -
ADVdeg
Gradation adverb -
ADVmod
Modal adverb -
DET
Determiner, other than below -
DETart
Article -
DETprep
Prepositional determiner -
DETnum
Numbers -
DETindef
Quantifiers -
DETinter
Interrogative determiner -
DETdem
Demonstrative determiner -
DETposs
Possesive determiner -
PRO
Pronouns, other than below -
PROpers
Personal pronouns -
PROindef
Indefinite pronouns -
PROdem
Demonstrative pronouns -
PROposs
Possessive pronouns -
CONN
Connectors, other than below -
CONJcoord
Coordinating conjunction -
CONJsub
Coordinating conjunction -
ADVconj
Adverbial conjunction -
PREP
Preposition -
NUM
Numeral, other than below -
NUMno
Ordinal -
REF
Reference -
MATH
Math operator -
NUMunit
Units -
PUN
Punctuation, other than below -
PUNclause
Clause punctuation -
PUNsent
Sentence punctuation -
PUNpara
Paragraph punctuation -
PUNsection
Section punctuation -
MISC
Misc -
ABBR
Abbreviation (maybe name, substantive…) -
EXCL
Exclamation -
PARTdem
Demonstrative particle -
STOP
Stop word -
NOSTOP
Non stop word -
LOC
Locution (maybe substantive, conjunction…)
-
-
Field Details
-
flag
public final int flagA structured bit flag between 0-255 -
parent
public final int parentThe first hexa digit, used as a type grouping -
name
A name without spaces -
label
A french label for humans -
desc
A line of explanation
-
-
Method Details
-
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
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 nameNullPointerException- 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
Return parent Tag by number- Parameters:
flag- Number of a Tag.- Returns:
- The parent Tag.
-
label
Return the String value of the tag.- Returns:
- Label.
-
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
Returns the identifier number of aTag, by name.- Parameters:
name- A mutable Tag name.- Returns:
- The identifier number of a
Tag.
-
flag
Get Tag number by name.- Parameters:
name- A tag name.- Returns:
- The identifier number of a Tag.
-
tag
Get Tag by number.- Parameters:
flag- A Tag identifier number.- Returns:
- A Tag.
-
name
Get Tag name by number identifier.- Parameters:
flag- Tag identifier number.- Returns:
- Name of a Tag.
-
label
Get Tag label by number identifier.- Parameters:
flag- Tag identifier number.- Returns:
- Label of a Tag.
-