Constructor and Description |
---|
PiiEntity() |
Modifier and Type | Method and Description |
---|---|
PiiEntityCategory |
getCategory()
Get the category property: Categorized entity category, such as Person/Location/Org/SSN etc.
|
double |
getConfidenceScore()
Get the score property: Confidence score between 0 and 1 of the recognized entity.
|
int |
getLength()
Get the length of entity text.
|
int |
getOffset()
Get the offset property: the start position for the entity text.
|
String |
getSubcategory()
Get the subcategory property: Categorized entity subcategory, such as Medical/Stock exchange/Sports etc.
|
String |
getText()
Get the text property: PII entity text as appears in the request.
|
public String getText()
text
value.public PiiEntityCategory getCategory()
category
value.public String getSubcategory()
subcategory
value.public double getConfidenceScore()
confidenceScore
value.public int getOffset()
offset
value.public int getLength()
Copyright © 2021 Microsoft Corporation. All rights reserved.