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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ner_anon-0.1.tar.gz.
File metadata
- Download URL: ner_anon-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6440891e777d3dd7eb64f973008899e19cfe2f13f28ec862f150219f1bdad6b4
|
|
| MD5 |
d42a74f1fb6462c634986dab7b21bede
|
|
| BLAKE2b-256 |
5358076e39aa66fd29434dc77ca114637ee22859adbdf473a575674196121936
|
File details
Details for the file ner_anon-0.1-py3-none-any.whl.
File metadata
- Download URL: ner_anon-0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ec2236728e4d85af6c84decd13d16f8fc90d988e37569ed4ce2ebc7186da2db
|
|
| MD5 |
0cce34e205f7913e6000cdbab38be4a8
|
|
| BLAKE2b-256 |
dcb3e039285da2bf213299c19a7e1320f6fda6115bcde45f855e6ae84684dde5
|