Skip to content

Correction

Source code in docs_src/capo_kendra/types/correction.py
class Correction(TypedDict, closed=True):
    begin_offset: NotRequired["capo_kendra.types.integer.Integer"]
    """<p>The zero-based location in the response string or text where the corrected word starts.</p>"""
    end_offset: NotRequired["capo_kendra.types.integer.Integer"]
    """<p>The zero-based location in the response string or text where the corrected word ends.</p>"""
    term: NotRequired["capo_kendra.types.string.String"]
    """<p>The string or text of a misspelled word in a query.</p>"""
    corrected_term: NotRequired["capo_kendra.types.string.String"]
    """<p>The string or text of a corrected misspelled word in a query.</p>"""

begin_offset instance-attribute

begin_offset: NotRequired[Integer]

The zero-based location in the response string or text where the corrected word starts.

corrected_term instance-attribute

corrected_term: NotRequired[String]

The string or text of a corrected misspelled word in a query.

end_offset instance-attribute

end_offset: NotRequired[Integer]

The zero-based location in the response string or text where the corrected word ends.

term instance-attribute

term: NotRequired[String]

The string or text of a misspelled word in a query.