LinkedEntityMatch Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. LinkedEntityMatch
- com.
public final class LinkedEntityMatch
The LinkedEntityMatch model.
Constructor Summary
| Constructor | Description |
|---|---|
| LinkedEntityMatch(String text, double confidenceScore) |
Creates a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| int |
getLength()
Gets the length of entity text. |
| int |
getOffset()
Gets the offset of linked entity match text. |
| String |
getText()
Gets the linked entity match text property: linked entity text as appears in the request. |
Methods inherited from java.lang.Object
Constructor Details
LinkedEntityMatch
public LinkedEntityMatch(String text, double confidenceScore)
Creates a LinkedEntityMatch model that describes linked entity match.
Parameters:
Method Details
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:
getLength
public int getLength()
Gets the length of entity text.
Returns:
getOffset
public int getOffset()
Gets the offset of linked entity match text. The start position for the linked entity match text in a document.
Returns:
getText
public String getText()
Gets the linked entity match text property: linked entity text as appears in the request.
Returns: