Update spacy/kb/candidate.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
Raphael Mitsch 2023-03-01 12:42:08 +01:00 committed by GitHub
parent a97ef65b33
commit 0680958476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.