An AI-powered legal research assistant that makes bulky Malayalam legal documents searchable, understandable and easier to navigate.
Niyamadharshini was born out of a real problem I saw through my mother, who works in the court system. Important legal documents often sit buried inside lengthy, scanned PDFs written in Malayalam, making it difficult to find the exact information someone needs. Niyamadharshini turns those documents into a searchable knowledge base and answers questions with references to the original source pages, so you can trace an answer back to the document instead of blindly trusting an AI response.
Processes bulky Malayalam legal PDFs, including scanned documents, to make their contents searchable.
Combines semantic search with BM25 keyword search, merges them with RRF fusion and reranks the top 30 candidates down to the best 10 chunks.
Uses Gemini to answer from retrieved legal content rather than general model knowledge alone.
Links each answer to its source documents and page numbers, so you can verify it yourself.
Designed around the challenges of Malayalam legal documents, using open-source tools and language models.
Solves a practical document-search problem, with a longer-term vision of making large legal collections easier to access and maintain.