Class HealthcareEntity
java.lang.Object
com.azure.ai.textanalytics.models.HealthcareEntity
The
HealthcareEntity model.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the assertion property.Gets the category property: Healthcare entity category, such as Person/Location/Org/SSN etc.doubleGets the score property: If a well-known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned.com.azure.core.util.IterableStream<EntityDataSource>Gets the healthcare entity data sources property: Entity references in known data sources.intGets the length of entity text.Gets the normalized text property: The normalized text is preferred name for the entity.intGets the offset of entity text.Gets the subcategory property: Healthcare entity subcategory, such as DateTime etc.getText()Gets the text property: Healthcare entity text as appears in the request.
-
Constructor Details
-
HealthcareEntity
public HealthcareEntity()Constructs aHealthcareEntitymodel.
-
-
Method Details
-
getText
Gets the text property: Healthcare entity text as appears in the request.- Returns:
- The text value.
-
getNormalizedText
Gets the normalized text property: The normalized text is preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'.- Returns:
- The normalized text value.
-
getCategory
Gets the category property: Healthcare entity category, such as Person/Location/Org/SSN etc.- Returns:
- The category value.
-
getSubcategory
Gets the subcategory property: Healthcare entity subcategory, such as DateTime etc.- Returns:
- The subcategory value.
-
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:
- The score value.
-
getOffset
public int getOffset()Gets the offset of entity text. The start position for the entity text in a document.- Returns:
- The offset of entity text.
-
getLength
public int getLength()Gets the length of entity text.- Returns:
- The length of entity text.
-
getDataSources
Gets the healthcare entity data sources property: Entity references in known data sources.- Returns:
- the dataSources value.
-
getAssertion
Gets the assertion property.- Returns:
- the assertion property.
-