This module contains a set of embedded ontologies and annotation corpora, and a class for keeping track and easily find the required datasets.
Bases: object
This class keeps track of the dataset of ontologies and annotation corpora included in fastSemSim. The file data/dataset.txt is read to collect the list of embedded ontologies and annotation corpora.
Return the required annotation corpus
Return the annotation corpus for the selected species, and compatible with the ontology specified by the ontology parameter.
Return the required dataset
Return the default annotation corpus for the selected species, and compatible with the ontology specified by the ontology parameter.
Return the default embedded ontology of the ontology_type type
Return the required ontology
Initialize class structures. Use the descriptor parameter to specify a dataset descriptor file. By default, the file data/dataset.txt will be used.