Machine-LearningNatural Language ProcessingNLPText Analysis
PiiEntity is a JSON Structure definition published by Amazon Comprehend, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-pii-entity-structure.json",
"name": "PiiEntity",
"description": "Provides information about a PII entity.",
"type": "object",
"properties": {
"Score": {
"allOf": [
{
"$ref": "#/components/schemas/Float"
},
{
"description": "The level of confidence that Amazon Comprehend has in the accuracy of the detection."
}
]
},
"Type": {
"allOf": [
{
"$ref": "#/components/schemas/PiiEntityType"
},
{
"description": "The entity's type."
}
]
},
"BeginOffset": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The zero-based offset from the beginning of the source text to the first character in the entity."
}
]
},
"EndOffset": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The zero-based offset from the beginning of the source text to the last character in the entity."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.