public final class LinkedEntityMatch extends Object
LinkedEntityMatch model.| Constructor and Description |
|---|
LinkedEntityMatch(String text,
double confidenceScore)
Creates a
LinkedEntityMatch model that describes linked entity match. |
| 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.
|
public LinkedEntityMatch(String text, double confidenceScore)
LinkedEntityMatch model that describes linked entity match.text - The linked entity match text as appears in the request.confidenceScore - If a well-known item is recognized, a decimal number denoting the
confidence level between 0 and 1 will be returned.public String getText()
public double getConfidenceScore()
public int getOffset()
public int getLength()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.