Anonymize Text

This task allows to anonymize a text. After using 3rd party APIs the text can later be deanonymized by another task.

Input

Language

Description

The Text Anonymization Tool enables you to safeguard sensitive information within your text while preserving its meaning. Through the integration of 3rd-party APIs, your text can be anonymized efficiently. Please note that while this process significantly enhances privacy, we cannot guarantee absolute anonymity for all types of private data. The anonymized text can later be deanonymized by another task.

Limitations

• Caution: As much as we strive for comprehensive anonymization, we cannot guarantee that every form of private data will be completely masked.

• Currently, our tool exclusively supports the English language.

How to use it?

  1. Enter the text you wish to anonymize in the designated input field.

  2. Our advanced algorithm will process the text and generate an anonymized version.

  3. The anonymized text and information that can be passed to the de anonymization task is returned.

Background

The task uses the Software Presidio (microsoft.github.io/presidio).

[1.0.0]:
First release
VersionAI ModelCreatedLink
1.0.028.03.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • text (Text): The text that should be anonymized.
  • language (Language): The language the search is done in
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/intern-anonymizer-anonymize/1.0.0?text=Hi%2C%20my%20name%20is%20Marcus%20and%20I%20live%20in%20Treestreet%2016%2C%20London.%20Please%20contact%20me%20under%20marcus%40anysolve.ai%20or%20%2B49%203432%20232323.&language=en
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('intern-anonymizer-anonymize','1.0.0', {'text': 'Hi, my name is Marcus and I live in Treestreet 16, London. Please contact me under marcus@anysolve.ai or +49 3432 232323.', 'language': 'en'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('intern-anonymizer-anonymize','1.0.0', text='Hi, my name is Marcus and I live in Treestreet 16, London. Please contact me under marcus@anysolve.ai or +49 3432 232323.', language='en')