kazu.krt.ontology_update_editor.utils¶
Classes
A class to manage the updating the raw ontology files of ontology parsers. |
- class kazu.krt.ontology_update_editor.utils.OntologyUpdateManager[source]¶
Bases:
object
A class to manage the updating the raw ontology files of ontology parsers.
- download_ontology_with_new_config()[source]¶
Download the ontology with the new configuration.
- Returns:
- Return type:
None
- get_downloader_args_and_types()[source]¶
Get the types of the arguments of the
kazu.ontology_preprocessing.downloads.OntologyDownloader
class.
- get_downloader_args_and_vals()[source]¶
Get the arguments and their values of the configured
kazu.ontology_preprocessing.downloads.OntologyDownloader
class.
- get_or_build_upgrade_report()[source]¶
Get the upgrade report if it exists, otherwise build it.
- Returns:
- Return type:
- instantiate_parser_with_new_config()[source]¶
Instantiate a new parser with the new configuration.
- Returns:
- Return type:
- modify_downloader_cfg_with_new_args(kwargs)[source]¶
Modify the downloader configuration with the new arguments.
- modify_parser_cfg_with_new_args()[source]¶
Modify the parser configuration with the new downloader configuration.
- Returns:
- Return type:
None
- novel_df()[source]¶
Get the dataframe of the novel resources.
- Returns:
- Return type:
DataFrame | None