pii.custom_batch_analyzer_engine#
Module Contents#
Classes#
Data#
API#
- class pii.custom_batch_analyzer_engine.CustomBatchAnalyzerEngine(
- analyzer_engine: presidio_analyzer.AnalyzerEngine | None = None,
Bases:
presidio_analyzer.BatchAnalyzerEngineInitialization
- analyze_batch(
- texts: collections.abc.Iterable[str],
- language: str,
- entities: list[str] | None = None,
- correlation_id: str | None = None,
- score_threshold: float | None = None,
- return_decision_process: bool | None = False,
- ad_hoc_recognizers: list[presidio_analyzer.EntityRecognizer] | None = None,
- context: list[str] | None = None,
- allow_list: list[str] | None = None,
- nlp_artifacts_batch: collections.abc.Iterable[presidio_analyzer.nlp_engine.NlpArtifacts] | None = None,
- analyze_dict(
- input_dict: dict[str, Any | collections.abc.Iterable[Any]],
- language: str,
- keys_to_skip: list[str] | None = None,
- **kwargs,
- analyze_iterator(
- texts: collections.abc.Iterable[str | bool | float | int],
- language: str,
- batch_size: int = 32,
- **kwargs,
- pii.custom_batch_analyzer_engine.logger#
‘getLogger(…)’