mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-13 09:42:26 +03:00
Format.
This commit is contained in:
parent
fa390618c8
commit
257bca3959
|
@ -12,7 +12,12 @@ class Candidate(abc.ABC):
|
|||
"""
|
||||
|
||||
def __init__(
|
||||
self, mention: str, entity_id: int, entity_name: str, entity_vector: List[float], prior_prob: float
|
||||
self,
|
||||
mention: str,
|
||||
entity_id: int,
|
||||
entity_name: str,
|
||||
entity_vector: List[float],
|
||||
prior_prob: float,
|
||||
):
|
||||
"""Initializes properties of `Candidate` instance.
|
||||
mention (str): Mention text for this candidate.
|
||||
|
|
Loading…
Reference in New Issue
Block a user