Share via


EntityCategory Struct

Definition

Gets the entity category inferred by the Language service's named entity recognition model. The list of available categories is described at Supported entity categories in Named Entity Recognition.

public readonly struct EntityCategory : IEquatable<Azure.AI.TextAnalytics.EntityCategory>
type EntityCategory = struct
Public Structure EntityCategory
Implements IEquatable(Of EntityCategory)
Inheritance
EntityCategory
Implements

Fields

Address

Specifies that the entity contains an address.

DateTime

Specifies that the entity contains a date, time or duration.

Email

Specifies that the entity contains an email address.

Event

Specifies that the entity contains historical, social and natural-occuring events.

IPAddress

Specifies that the entity contains an Internet Protocol Address.

Location

Specifies that the 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.

Person

Specifies that the entity corresponds to a Person.

PersonType

Specifies that the entity corresponds to a job type or role held by a person.

PhoneNumber

Specifies that the entity contains a phone number (US phone numbers only).

Product

Specifies that the entity contains physical objects of various categories.

Quantity

Specifies that the entity contains a number or numeric quantity.

Skill

Specifies an entity describing a capability or expertise.

Url

Specifies that the entity contains an Internet URL.

Methods

Equals(EntityCategory)

Compares the EntityCategory for equality with another EntityCategory.

ToString()

Returns a string representation of the EntityCategory.

Operators

Equality(EntityCategory, EntityCategory)

Compares two EntityCategory values for equality.

Explicit(EntityCategory to String)

Defines explicit conversion from EntityCategory to string.

Implicit(String to EntityCategory)

Defines implicit conversion from string to EntityCategory.

Inequality(EntityCategory, EntityCategory)

Compares two EntityCategory values for inequality.

Applies to