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.3.tar.gz (3.8 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.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ner_anon-0.1.3.tar.gz
  • Upload date:
  • Size: 3.8 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.3.tar.gz
Algorithm Hash digest
SHA256 83bdf14b2e8976b19c994ffdc5e8718dc38ca9975de1f93e6adf5aabfd151b7d
MD5 93ce29a8dadee03925ef3e2c257931f7
BLAKE2b-256 7a816d75f9ac9a1b76dc2d52b86ad6040058b2e30833f300956e24277b1d2592

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ner_anon-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c102de661190b96f21bb8c6b2848404f48ae89990025ac9087b533c9958a61
MD5 4b08fcf11fa1b8d1665e7af29ca62f32
BLAKE2b-256 14cb5cac0441964e47721d4f8209d91dd81a879e8ad3c4621674eef44974f6cb

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