CachedTextRepresentation
- class CachedTextRepresentation(identifiers, **kwargs)[source]
Bases:
TextRepresentation
Textual representations for datasets with identifiers that can be looked up with a
TextCache
.Initialize the representation.
- Parameters:
identifiers (
Sequence
[str
]) – the IDs to be resolved by the class, e.g., wikidata IDs. forWikidataTextRepresentation
, biomedical entities represented as compact URIs (CURIEs) forBiomedicalCURIERepresentation
kwargs – additional keyword-based parameters passed to
TextRepresentation.__init__()