CIRHSS

BM25 search, typo correction, and evidence-led proposal review for CIRHSS's KamusBali dictionary.

Client
CIRHSS
Tag
Search
Live
bali.cirhss.org
CIRHSS screenshot
CIRHSS project image 1

Problem

KamusBali matched exact words but failed on misspellings and related meanings, while duplicate or ambiguous contributor submissions reached admins without context. MySQL had to stay the source of truth with Bleve only for search. Balinese script and Latin text required separate handling, protecting homonyms, synonyms, aliases, and register variants from false duplicate flags.

CIRHSS project image 2

What we built

A shared BM25 search layer behind the existing Go API and Next.js frontend, shipped in 6 weeks. It pairs curated synonym links with ranked matches across words, aliases, Balinese script, meanings, and examples. We added typo correction, index recovery and refresh, contributor pre-submission quality checks, and admin review displaying explicit reasons and candidate evidence.

CIRHSS project image 3

Outcome

Exact entries stay first, typos surface corrections, and related words remain distinct. Contributors catch issues before submitting, clear duplicates are blocked from the queue, safe entries can auto-approve, and ambiguous cases arrive with evidence for human review. Backend tests, frontend checks, production build, and local flow QA all passed.

Next project
Bali Spa & Wellness