De-Anonymize Text

This task allows to de-anonymize text that has been previously anonymized by the anonymization task.

Input

This task allows to de-anonymize text that has been previously anonymized by the anonymization task.

[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.
  • anonymized_deanonymization_info (De-Anonymization information): The de-anonymization information.
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/intern-anonymizer-deanonymize/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.&anonymized_deanonymization_info=
  • 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-deanonymize','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.', 'anonymized_deanonymization_info': ''})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('intern-anonymizer-deanonymize','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.', anonymized_deanonymization_info='')