Integrating An Anonymization layer in GlossAPI For GSOC'26 #88
raja-jaloka
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi @nikostsekos @myrsiniioannou @jimmmyss I am Yuvraj Saxena a student at KIIT University,India pursuing a B.Tech in CSE and currently exploring the ML-assisted anonymization project for GSOC'26.
So far I have been locally running the GlossAPI repository to better understand the document extraction pipeline. While reading through the pipeline (specifically gloss_extract.py) I implemented an anonymization layer that fits the project description i.e to mask Persons,Locations,Organizations,Phone Numbers and Email ids, which comprises of two layers i.e Regex Layer(handles phone no. and email ids) and NER Layer (handles the rest). I chose to work with GLiNER for better recognition of tokens. Both the layers appoint a masked tag to the masked entities.
In my prototype, I attempted to handle the anonymization of text per-page level(to better handle the amount of tokens). While testing this approach I had a few architectural questions:
I would really appreciate any guidance on the preferred architectural direction before continuing further with the implementation.
Happy to share the prototype implementation if that would be useful.
https://github.com/raja-jaloka/raj_glossAPI/tree/anonymization-prototype
Thanks!
All reactions