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
Modifier and TypeFieldDescriptionstatic final EntityCategory
Specifies that the entity corresponds to an address.static final EntityCategory
Specifies that the entity contains a date, time or duration.static final EntityCategory
Specifies that the entity contains an email address.static final EntityCategory
Specifies that the entity contains historical, social and natural-occuring events.static final EntityCategory
Specifies that the entity contains an Internet Protocol addressstatic final EntityCategory
Specifies that entity contains natural or human-made landmarks, structures, or geographical features.static final EntityCategory
Specifies that the entity contains the name of an organization, corporation, agency, or other group of people.static final EntityCategory
Specifies that the entity corresponds to a person.static final EntityCategory
Specifies that the entity corresponds to a person type.static final EntityCategory
Specifies that the entity contains a phone number (US phone numbers only).static final EntityCategory
Specifies that the entity contains a physical objects of various categories.static final EntityCategory
Specifies that the entity contains a number or numeric quantity.static final EntityCategory
Specifies that the entity contains an entity describing a capability or expertise.static final EntityCategory
Specifies that the entity contains an Internet URL. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityCategory
fromString
(String name) Creates or finds aEntityCategory
from its string representation.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
public EntityCategory()
-
-
Method Details
-
fromString
Creates or finds aEntityCategory
from its string representation.- Parameters:
name
- The string name to look for.- Returns:
- The corresponding
EntityCategory
.
-