mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-04 20:03:13 +03:00
Update spacy/kb/candidate.py
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
a97ef65b33
commit
0680958476
|
@ -57,7 +57,7 @@ class Candidate(BaseCandidate):
|
||||||
prior_prob: float,
|
prior_prob: float,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
retrieve_string_from_hash (Callable[[int], str]): Callable retrieveing entity name from provided entity/vocab
|
retrieve_string_from_hash (Callable[[int], str]): Callable retrieving entity name from provided entity/vocab
|
||||||
hash.
|
hash.
|
||||||
entity_hash (str): Hashed entity name /ID.
|
entity_hash (str): Hashed entity name /ID.
|
||||||
entity_freq (int): Entity frequency in KB corpus.
|
entity_freq (int): Entity frequency in KB corpus.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user