HealthcareEntityRelation Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. HealthcareEntityRelation
- com.
public final class HealthcareEntityRelation
The HealthcareEntityRelation Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context.
Constructor Summary
| Constructor | Description |
|---|---|
| HealthcareEntityRelation() |
Constructs a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| double |
getConfidenceScore()
Get the confidence |
|
Healthcare |
getRelationType()
Gets the relation |
|
Iterable |
getRoles()
Gets the entities property: The entities in the relation. |
Methods inherited from java.lang.Object
Constructor Details
HealthcareEntityRelation
public HealthcareEntityRelation()
Constructs a HealthcareEntityRelation model.
Method Details
getConfidenceScore
public double getConfidenceScore()
Get the confidenceScore property: Confidence score between 0 and 1 of the extracted relation.
Returns:
getRelationType
public HealthcareEntityRelationType getRelationType()
Gets the relationType property: Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc.
Returns:
getRoles
public IterableStream<HealthcareEntityRelationRole> getRoles()
Gets the entities property: The entities in the relation.
Returns: