Package ai.expert.nlapi.v2.model
Enum TokenType
- java.lang.Object
-
- java.lang.Enum<TokenType>
-
- ai.expert.nlapi.v2.model.TokenType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJADVANYARTAUXCONNOUNOU_ADRNOU_DATNOU_HOUNOU_MAINOU_MEANOU_MONNOU_PCTNOU_PHONOU_WEBNPRNPR_ANMNPR_BLDNPR_COMNPR_DEVNPR_DOCNPR_EVNNPR_FDDNPR_GEANPR_GEONPR_GEXNPR_LENNPR_MMDNPR_NPHNPR_ORGNPR_PPHNPR_PRDNPR_VCLNPR_WRKPNTPREPROPRTVER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenTypefromDescription(java.lang.String description)java.lang.StringgetDescription()static TokenTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TokenType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADJ
public static final TokenType ADJ
-
ADV
public static final TokenType ADV
-
ART
public static final TokenType ART
-
AUX
public static final TokenType AUX
-
CON
public static final TokenType CON
-
NOU
public static final TokenType NOU
-
NOU_ADR
public static final TokenType NOU_ADR
-
NOU_DAT
public static final TokenType NOU_DAT
-
NOU_HOU
public static final TokenType NOU_HOU
-
NOU_MAI
public static final TokenType NOU_MAI
-
NOU_MEA
public static final TokenType NOU_MEA
-
NOU_MON
public static final TokenType NOU_MON
-
NOU_PCT
public static final TokenType NOU_PCT
-
NOU_PHO
public static final TokenType NOU_PHO
-
NOU_WEB
public static final TokenType NOU_WEB
-
NPR
public static final TokenType NPR
-
NPR_ANM
public static final TokenType NPR_ANM
-
NPR_BLD
public static final TokenType NPR_BLD
-
NPR_COM
public static final TokenType NPR_COM
-
NPR_DEV
public static final TokenType NPR_DEV
-
NPR_DOC
public static final TokenType NPR_DOC
-
NPR_EVN
public static final TokenType NPR_EVN
-
NPR_FDD
public static final TokenType NPR_FDD
-
NPR_GEA
public static final TokenType NPR_GEA
-
NPR_GEO
public static final TokenType NPR_GEO
-
NPR_GEX
public static final TokenType NPR_GEX
-
NPR_LEN
public static final TokenType NPR_LEN
-
NPR_MMD
public static final TokenType NPR_MMD
-
NPR_NPH
public static final TokenType NPR_NPH
-
NPR_ORG
public static final TokenType NPR_ORG
-
NPR_PPH
public static final TokenType NPR_PPH
-
NPR_PRD
public static final TokenType NPR_PRD
-
NPR_VCL
public static final TokenType NPR_VCL
-
NPR_WRK
public static final TokenType NPR_WRK
-
PNT
public static final TokenType PNT
-
PRE
public static final TokenType PRE
-
PRO
public static final TokenType PRO
-
PRT
public static final TokenType PRT
-
VER
public static final TokenType VER
-
ANY
public static final TokenType ANY
-
-
Method Detail
-
values
public static TokenType[] 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 (TokenType c : TokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromDescription
public static TokenType fromDescription(java.lang.String description)
-
getDescription
public java.lang.String getDescription()
-
-