Skip to content

Commit

Permalink
Updated more docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarr committed Jul 14, 2022
1 parent 01d0d32 commit 476c2fa
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ class Extraction:
"""A single extraction result.
Attributes:
value: The name of the slot.
score: The predicted class.
start: The predicted class.
end: The predicted class.
value: The text value of the extraction.
score: The score for this extraction e.g. (but not necessarily) a
probability in [0,1].
start: Start of the bytes of this extraction.
end: Exclusive end of the bytes of this extraction.
"""

value: str
Expand Down

0 comments on commit 476c2fa

Please sign in to comment.