factory
factory
¶
Classes:
| Name | Description |
|---|---|
PredictorFilter |
Used to filter predictors that should be included in the NER. |
NERFactory |
|
NERBundle |
Bundle that contains all of the NER-related information that the code running NER may need. |
PredictorFilter
¶
Bases: ABC
Used to filter predictors that should be included in the NER.
NERFactory(custom_predictors=None, *, parallel=True, use_nlp=False, regex_only=False, ner_max_runtime_seconds=None)
¶
Bases: NERFactoryBase
Source code in src/nemo_safe_synthesizer/pii_replacer/ner/factory.py
NERBundle(factory=NERFactory(), custom_labels=list(), field_label_condition=FieldLabelCondition())
dataclass
¶
Bundle that contains all of the NER-related information that the code running NER may need.