← Về thư mục
skills/ontology-term-resolution/scripts/map_terms.py
- read_inputs · function · L50-L74 — def read_inputs(args: argparse.Namespace) -> list[str]
- map_one · function · L77-L95 — def map_one( text: str, *, ontologies: list[str], property_type: str | None, top: int, safe_only: bool, ) -> dict
- to_rows · function · L98-L132 — def to_rows(results: list[dict]) -> list[dict]
- write_output · function · L135-L149 — def write_output(results: list[dict], fmt: str, output: str | None) -> None
- build_parser · function · L152-L187 — def build_parser() -> argparse.ArgumentParser
- main · function · L190-L226 — def main(argv: list[str] | None = None) -> int