langchain_experimental.data_anonymizer.base.AnonymizerBase¶
class langchain_experimental.data_anonymizer.base.AnonymizerBase[source]¶
Base abstract class for anonymizers.
It is public and non-virtual because it allows
wrapping the behavior for all methods in a base class.
Methods
__init__()
anonymize(text[, language])
Anonymize text
__init__()¶
anonymize(text: str, language: Optional[str] = None) → str[source]¶
Anonymize text