lexical_prediction_cli

lexical_prediction_cli(prefix: str, target: str | list[str], *, path: Path, curated_paths: list[Path] | None = None, filter_mutual_mappings: bool = False, identifiers_are_names: bool = False, predicate: str | None | NamableReference = None, method: Literal['ner', 'grounding', 'embedding'] | None = None, cutoff: float | None = None, custom_filter_function: Callable[[SemanticMapping], bool] | None = None, mapping_tool: str | MappingTool | None = None) None[source]

Construct a CLI and run it.