get_scispacy_knowledgebase

get_scispacy_knowledgebase(prefix, **kwargs)[source]

Get a lexical index for usage with scispacy.

Parameters:
  • prefix (str) – The ontology’s prefix, such as go` for Gene Ontology, ``doid for the Disease Ontology, or more.

  • kwargs (Unpack[GetOntologyKwargs]) – keyword arguments to pass to pyobo.get_ontology(), such as version.

Returns:

An object that represents a lexical index over name, synonym, and definition strings from the ontology.

Return type:

KnowledgeBase