Skip to main content

A NER-based anonymization tool that replaces named entities in text with random entities from a given context.

Project description

🕵️‍♂️ ner_anon_pkg

A simple Python package for anonymizing text using Named Entity Recognition (NER).
Swap out real-world names, locations, and organizations with fun entities from Marvel, Star Wars, or Harry Potter!

Built on top of Hugging Face Transformers.


🚀 Features

  • 🔍 Named Entity Recognition using fine-tuned BERT models
  • 🧙 Replace real entities with fictional ones (Marvel, Star Wars, or Harry Potter)
  • 🌍 Multilingual and monolingual model support
  • 💡 Clean class-based design (EntityAnonymizer)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ner_anon-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ner_anon-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file ner_anon-0.1.2.tar.gz.

File metadata

  • Download URL: ner_anon-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for ner_anon-0.1.2.tar.gz
Algorithm Hash digest
SHA256 642ff6cc788f8af350d4b24a3c8ba6e4056a649ba3e3e287821f9ae40069da35
MD5 e0bc2d7cd4e90bc33f33f03d1129d9dc
BLAKE2b-256 6813cbe25abdc952da8e6e48812ba6220216bb9b2f7ef039a7d76507752bc047

See more details on using hashes here.

File details

Details for the file ner_anon-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ner_anon-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for ner_anon-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f409739558ab0e92dd709429063fc04280028d4d8d4e8728a34a05542e232062
MD5 16b4dfaea217cc9b2664229804bde7f2
BLAKE2b-256 dd126a592ef5c36bc4905bf5cec559365ce4e58f71e5a512135fadeb57aa8d46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page