Skip to content

EntityLabel

Source code in docs_src/capo_comprehend/types/entity_label.py
class EntityLabel(TypedDict, closed=True):
    name: NotRequired["capo_comprehend.types.pii_entity_type.PiiEntityType"]
    """<p>The name of the label.</p>"""
    score: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>"""

name instance-attribute

name: NotRequired[PiiEntityType]

The name of the label.

score instance-attribute

score: NotRequired[Float]

The level of confidence that Amazon Comprehend has in the accuracy of the detection.