Specifies the class that categorizes the document being analyzed
Type: objectProperties: 3
Machine-LearningNatural Language ProcessingNLPText Analysis
DocumentClass is a JSON Structure definition published by Amazon Comprehend, describing 3 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-document-class-structure.json",
"name": "DocumentClass",
"description": "Specifies the class that categorizes the document being analyzed",
"type": "object",
"properties": {
"Name": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The name of the class."
}
]
},
"Score": {
"allOf": [
{
"$ref": "#/components/schemas/Float"
},
{
"description": "The confidence score that Amazon Comprehend has this class correctly attributed."
}
]
},
"Page": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "Page number in the input document. This field is present in the response only if your request includes the <code>Byte</code> parameter. "
}
]
}
}
}
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.