Deidentification, Python tool for removing personal info using NLP
Deidentification, Python tool for removing personal info using NLP
I created a Python library and CLI to automatically identify and remove personal information from text documents using Natural Language Processing. It has been used to de-identify internal employee surveys and patient satisfaction surveys. What my project does: * Identifies and replaces person names using spaCy's transformer model * Converts gender-specific pronouns to neutral alternatives * Handles possessives and hyphenated names * Offers HTML output with color-coded replacements ___ Here's a quick example: Input: John Smith's report was excellent. He clearly understands the topic. Output: [PERSON]'s report was excellent. HE/SHE clearly understands the topic. ___ This was a fun project to work on - especially solving the challenge of maintaining correct character positions during replacements. The backwards processing approach was a neat solution to avoid recalculating positions after each replacement. * blog post: https://gitgist.com/posts/introducing-deidentification-pytho... * github: https://github.com/jftuga/deidentification * PyPI: https://pypi.org/project/text-deidentification
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Solid IMAP and SMTP in Go Using Python
Using functions to construct Regex in Python
WebRTC implementation for Python using Asyncio
Manipulate NumPy arrays in Python using Uiua
PlatformInfo – Python system info library
System Info Tool for Rustaceans
Matroschka – A Python steganography tool
Tool for pinpointing circular imports in Python
(Crocs) Regex and Backus-Naur on Python classes. A parsing tool
Learn to track your personal finances using Python