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, allow_list])

Anonymize text

__init__()
anonymize(text: str, language: Optional[str] = None, allow_list: Optional[List[str]] = None) str[source]

Anonymize text