mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 08:12:24 +03:00
Update doc string of BaseCandidate.__init__().
This commit is contained in:
parent
a97ef65b33
commit
3da0712582
|
@ -14,7 +14,7 @@ class BaseCandidate(abc.ABC):
|
|||
def __init__(
|
||||
self, mention: str, entity_id: Union[int, str], entity_vector: List[float]
|
||||
):
|
||||
"""Create new instance of `Candidate`. Note: has to be a sub-class, otherwise error will be raised.
|
||||
"""Initializes properties of `BaseCandidate`.
|
||||
mention (str): Mention text for this candidate.
|
||||
entity_id (Union[int, str]): Unique entity ID.
|
||||
entity_vector (List[float]): Entity embedding.
|
||||
|
|
Loading…
Reference in New Issue
Block a user