Skip to content

DominantLanguage

Source code in docs_src/capo_comprehend/types/dominant_language.py
class DominantLanguage(TypedDict, closed=True):
    language_code: NotRequired["capo_comprehend.types.string.String"]
    """<p>The RFC 5646 language code for the dominant language. For more information about RFC 5646, see <a href="https://tools.ietf.org/html/rfc5646">Tags for Identifying Languages</a> on the <i>IETF Tools</i> web site.</p>"""
    score: NotRequired["capo_comprehend.types.float.Float"]
    """<p>The level of confidence that Amazon Comprehend has in the accuracy of the detection.</p>"""

language_code instance-attribute

language_code: NotRequired[String]

The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.

score instance-attribute

score: NotRequired[Float]

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