Update docstrings.

This commit is contained in:
Raphael Mitsch 2023-03-10 09:03:41 +01:00
parent 27053912da
commit 348dd1c87e

View File

@ -100,14 +100,15 @@ cdef class InMemoryCandidate(Candidate):
@property
def mention(self) -> str:
"""RETURNS (str): ID/name of this entity in the KB"""
"""RETURNS (str): Mention."""
return self._kb.vocab.strings[self._mention]
@property
def entity_id_(self) -> str:
"""RETURNS (str): ID/name of this entity in the KB"""
"""RETURNS (str): ID/name of this entity in the KB."""
return self._kb.vocab.strings[self._entity_id]
@property
def entity_freq(self) -> float:
"""RETURNS (float): Entity frequence of this candidate's entity in the KB."""
return self._entity_freq