Class Claim (1.101.0)

Claim(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Claim that is extracted from the input text and facts that support it.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
start_index int
Index in the input text where the claim starts (inclusive). This field is a member of oneof_ _start_index.
end_index int
Index in the input text where the claim ends (exclusive). This field is a member of oneof_ _end_index.
fact_indexes MutableSequence[int]
Indexes of the facts supporting this claim.
score float
Confidence score of this corroboration. This field is a member of oneof_ _score.

Methods

Claim

Claim(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Claim that is extracted from the input text and facts that support it.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields