EntityAssociation Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. textanalytics. models. EntityAssociation
- com.
- com.
public final class EntityAssociation
extends ExpandableStringEnum<EntityAssociation>
The EntityAssociation model.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Entity |
OTHER
Specifies that the entity describes someone else. |
|
static final
Entity |
SUBJECT
Specifies if the entity is the subject of the text. |
Constructor Summary
| Constructor | Description |
|---|---|
| EntityAssociation() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Entity |
fromString(String name)
Creates or finds a |
|
static
Collection<Entity |
values()
All known Entity |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
OTHER
public static final EntityAssociation OTHER
Specifies that the entity describes someone else.
SUBJECT
public static final EntityAssociation SUBJECT
Specifies if the entity is the subject of the text.
Constructor Details
EntityAssociation
@Deprecated
public EntityAssociation()
Deprecated
Creates a new instance of EntityAssociation value.
Method Details
fromString
public static EntityAssociation fromString(String name)
Creates or finds a EntityAssociation from its string representation.
Parameters:
Returns:
EntityAssociation.values
public static Collection<EntityAssociation> values()
All known EntityAssociation values.
Returns: