Class EntityCategory
java.lang.Object
com.azure.core.util.ExpandableStringEnum<EntityCategory>
com.azure.ai.textanalytics.models.EntityCategory
Gets the entity category inferred by the text analytics service's named entity recognition model.
The list of available categories is described at
See named entity types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EntityCategorySpecifies that the entity corresponds to an address.static final EntityCategorySpecifies that the entity contains a date, time or duration.static final EntityCategorySpecifies that the entity contains an email address.static final EntityCategorySpecifies that the entity contains historical, social and natural-occuring events.static final EntityCategorySpecifies that the entity contains an Internet Protocol addressstatic final EntityCategorySpecifies that entity contains natural or human-made landmarks, structures, or geographical features.static final EntityCategorySpecifies that the entity contains the name of an organization, corporation, agency, or other group of people.static final EntityCategorySpecifies that the entity corresponds to a person.static final EntityCategorySpecifies that the entity corresponds to a person type.static final EntityCategorySpecifies that the entity contains a phone number (US phone numbers only).static final EntityCategorySpecifies that the entity contains a physical objects of various categories.static final EntityCategorySpecifies that the entity contains a number or numeric quantity.static final EntityCategorySpecifies that the entity contains an entity describing a capability or expertise.static final EntityCategorySpecifies that the entity contains an Internet URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityCategoryfromString(String name) Creates or finds aEntityCategoryfrom its string representation.static Collection<EntityCategory>values()All known EntityCategory values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ADDRESS
Specifies that the entity corresponds to an address. -
PERSON
Specifies that the entity corresponds to a person. -
PERSON_TYPE
Specifies that the entity corresponds to a person type. -
LOCATION
Specifies that entity contains natural or human-made landmarks, structures, or geographical features. -
ORGANIZATION
Specifies that the entity contains the name of an organization, corporation, agency, or other group of people. -
EVENT
Specifies that the entity contains historical, social and natural-occuring events. -
PRODUCT
Specifies that the entity contains a physical objects of various categories. -
SKILL
Specifies that the entity contains an entity describing a capability or expertise. -
PHONE_NUMBER
Specifies that the entity contains a phone number (US phone numbers only). -
EMAIL
Specifies that the entity contains an email address. -
URL
Specifies that the entity contains an Internet URL. -
IP_ADDRESS
Specifies that the entity contains an Internet Protocol address -
DATE_TIME
Specifies that the entity contains a date, time or duration. -
QUANTITY
Specifies that the entity contains a number or numeric quantity.
-
-
Constructor Details
-
EntityCategory
Deprecated.Use thefromString(String)factory method.Creates a new instance ofEntityCategoryvalue.
-
-
Method Details
-
fromString
Creates or finds aEntityCategoryfrom its string representation.- Parameters:
name- The string name to look for.- Returns:
- The corresponding
EntityCategory.
-
values
All known EntityCategory values.- Returns:
- known EntityCategory values.
-
fromString(String)factory method.