Class Claim (0.11.11)

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

Text and citation info for a claim in the answer candidate.

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

Attributes

Name Description
start_pos int
Position indicating the start of the claim in the answer candidate, measured in bytes. This field is a member of oneof_ _start_pos.
end_pos int
Position indicating the end of the claim in the answer candidate, exclusive. This field is a member of oneof_ _end_pos.
claim_text str
Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found.
citation_indices MutableSequence[int]
A list of indices (into 'cited_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited supporting for the claim. A citation to a fact indicates that the claim is supported by the fact.