bluesearch.entrypoint.database.topic_extract module¶
Extract topic of articles.
- init_parser(parser: argparse.ArgumentParser) argparse.ArgumentParser[source]¶
Initialise the argument parser for the topic-extract subcommand.
- Parameters
parser – The argument parser to initialise.
- Returns
The initialised argument parser. The same object as the parser argument.
- Return type
argparse.ArgumentParser
- run(*, source: str, input_path: Path, output_file: Path, match_filename: str | None, recursive: bool, overwrite: bool, dry_run: bool, mesh_topic_db: Path | None = None) int[source]¶
Extract topic of articles.
Parameter description and potential defaults are documented inside of the init_parser function.