HealthcareEntity Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. HealthcareEntity
- com.
public final class HealthcareEntity
The HealthcareEntity
model.
Constructor Summary
Constructor | Description |
---|---|
HealthcareEntity() |
Constructs a |
Method Summary
Modifier and Type | Method and Description |
---|---|
Healthcare |
getAssertion()
Gets the assertion property. |
Healthcare |
getCategory()
Gets the category property: Healthcare entity category, such as Person/Location/Org/SSN etc. |
double |
getConfidenceScore()
Gets the score property: If a well-known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. |
Iterable |
getDataSources()
Gets the healthcare entity data sources property: Entity references in known data sources. |
int |
getLength()
Gets the length of entity text. |
String |
getNormalizedText()
Gets the normalized text property: The normalized text is preferred name for the entity. |
int |
getOffset()
Gets the offset of entity text. |
String |
getSubcategory()
Gets the subcategory property: Healthcare entity subcategory, such as Date |
String |
getText()
Gets the text property: Healthcare entity text as appears in the request. |
Methods inherited from java.lang.Object
Constructor Details
HealthcareEntity
public HealthcareEntity()
Constructs a HealthcareEntity
model.
Method Details
getAssertion
public HealthcareEntityAssertion getAssertion()
Gets the assertion property.
Returns:
getCategory
public HealthcareEntityCategory getCategory()
Gets the category property: Healthcare entity category, such as Person/Location/Org/SSN etc.
Returns:
getConfidenceScore
public double getConfidenceScore()
Gets the score property: If a well-known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned.
Returns:
getDataSources
public IterableStream
Gets the healthcare entity data sources property: Entity references in known data sources.
Returns:
getLength
public int getLength()
Gets the length of entity text.
Returns:
getNormalizedText
public String getNormalizedText()
Gets the normalized text property: The normalized text is preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'.
Returns:
getOffset
public int getOffset()
Gets the offset of entity text. The start position for the entity text in a document.
Returns:
getSubcategory
public String getSubcategory()
Gets the subcategory property: Healthcare entity subcategory, such as DateTime etc.
Returns:
getText
public String getText()
Gets the text property: Healthcare entity text as appears in the request.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for