Sushegaad/Semantic-Privacy-Guard
Semantic Privacy Guard: A Java middleware that intercepts text, identifies PII using a three-layer hybrid pipeline (Regex + Naive Bayes ML + Apache OpenNLP NER), and redacts it before it reaches an LLM or leaves the corporate network — with stream-based processing for memory-efficient handling of large files and log streams.
GitHub repository with 12 stars and 2 forks.
Language: Java
Topics: ai-firewall, ai-safety, compliance, data-privacy, eu-ai-act, gdpr, java, java-library, llm-privacy, llm-security