Class EntityAssociation
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<EntityAssociation>
-
- com.azure.ai.textanalytics.models.EntityAssociation
-
public final class EntityAssociation extends com.azure.core.util.ExpandableStringEnum<EntityAssociation>
TheEntityAssociation
model.
-
-
Field Summary
Fields Modifier and Type Field Description static EntityAssociation
OTHER
Specifies that the entity describes someone else.static EntityAssociation
SUBJECT
Specifies if the entity is the subject of the text.
-
Constructor Summary
Constructors Constructor Description EntityAssociation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityAssociation
fromString(String name)
Creates or finds aEntityAssociation
from its string representation.
-
-
-
Field Detail
-
SUBJECT
public static final EntityAssociation SUBJECT
Specifies if the entity is the subject of the text.
-
OTHER
public static final EntityAssociation OTHER
Specifies that the entity describes someone else.
-
-
Method Detail
-
fromString
public static EntityAssociation fromString(String name)
Creates or finds aEntityAssociation
from its string representation.- Parameters:
name
- The string name to look for.- Returns:
- The corresponding
EntityAssociation
.
-
-