
Guarding the Sinhala Web: Building Suba Bhas with Google Gemini
This is a submission for the Built with Google Gemini: Writing Challenge What I Built with Google Gemini The Suba Bhas is a browser extension and AI-powered filter designed to make the internet a safer space for Sinhala speakers. It acts as a real-time "shield" that detects offensive language and hate speech on web pages and automatically blurs it out. The Problem: Online toxicity in local languages like Sinhala often goes undetected by global moderation tools. The Tech: I built a Flask-based backend to serve a Bi-LSTM model trained on the SOLD (Sinhala Offensive Language Dataset). Gemini's Role: I used Google Gemini to help architect the system, debug the complex JavaScript for the DOM observer (which scans the text in real-time), and refine the logic for dynamic keyword extraction. Gemini was also instrumental in helping me translate technical concepts between the Python backend and the Chrome extension frontend. Demo Github Link - [ https://github.com/itspasindu/Suba-Bas-Project ] W
Continue reading on Dev.to
Opens in a new tab



