langchain_experimental.data_anonymizer.base.ReversibleAnonymizerBase¶
class langchain_experimental.data_anonymizer.base.ReversibleAnonymizerBase[source]¶
Base abstract class for reversible anonymizers.
Methods
__init__()
anonymize(text[, language])
Anonymize text
deanonymize(text)
Deanonymize text
__init__()¶
anonymize(text: str, language: Optional[str] = None) → str¶
Anonymize text
deanonymize(text: str) → str[source]¶
Deanonymize text