What is Rala?
Rala is a reverse dictionary that helps you find Kannada words by searching for their English meanings. Unlike traditional dictionaries where you look up a Kannada word to find its English definition, Rala works in reverse—enter an English word or concept, and discover the corresponding Kannada words.
Rala (ರಲ) = Reverse Alar — an amateur, uneducated attempt at reversing V. Krishna's excellent Alar Kannada → English dictionary.
How It Works
Rala combines two dictionary sources to provide comprehensive English → Kannada translations:
- Dictionary Loading:
- Alar: Kannada-English dictionary data loaded from YAML file hosted on GitHub (156,672 entries)
- Padakanaja: English-Kannada dictionary from Karnataka Government (322,008 entries)
- Hybrid Search:
- Alar is searched locally (client-side) for fast, offline-capable results
- Padakanaja is searched via Cloudflare Worker API for server-side performance
- Results from both sources are combined and deduplicated
- Reverse Indexing: For Alar, English words in definitions are indexed to enable fast lookups.
- Exact Matching: Finds all Kannada words whose definitions directly contain your search term.
- Synonym Matching: Using the Datamuse API, Rala finds synonyms and word forms, then searches for matching Kannada words.
- Smart Sorting: Results are prioritized so that definitions ending with exact matches appear before passing mentions.
- Audio Playback: Pronunciation audio is loaded from the Alar Voice Corpus repository, organized by entry ID.
Technical Details
- Architecture: Hybrid client-server architecture
- Client-side: Alar dictionary loaded and searched locally (offline-capable)
- Server-side: Padakanaja dictionary served via Cloudflare Workers for fast lookups
- Dictionary Format:
- Alar: YAML format parsed using
js-yamllibrary - Padakanaja: Optimized JSON format stored in Cloudflare KV
- Alar: YAML format parsed using
- Search Performance: Reverse index for O(1) lookups, enabling sub-50ms search times
- Synonym API: Datamuse API for finding related words and word forms
- Audio Files: MP3 files from the Alar Voice Corpus, served via GitHub raw content
- Total Entries: 478,680 entries from both dictionaries (156,672 Alar + 322,008 Padakanaja)
Attribution & Sources
Dictionary Data
Alar Dictionary by V. Krishna
Original Kannada → English dictionary
https://alar.ink
Source Data on GitHub
Licensed under ODC-ODbL
Padakanaja Dictionary by Karnataka Government
Comprehensive English → Kannada dictionary
https://padakanaja.karnataka.gov.in
Voice Corpus
Alar Voice Corpus by Aditya-ds-1806
Voice corpus for Kannada word pronunciations
Generated using Google TTS API
Voice Corpus Repository
Synonym API
Datamuse API
Word-finding query engine for developers
Used for finding synonyms and similar words
https://www.datamuse.com/api/
License
This project and its code are licensed under the Open Database License (ODC-ODbL), inheriting from the source dictionary data license.
The dictionary data is provided by Alar and is also licensed under ODC-ODbL. Please refer to the Alar project for more information about the data license.
Limitations
As an "amateur reversal" of the Alar dictionary, Rala has some limitations:
- Results depend on English words appearing in definitions, so some valid translations might be missed
- Synonym matching relies on external APIs and may not always find the best matches
- Audio playback depends on the availability of files in the voice corpus repository
- This is not a professionally curated reverse dictionary—use it as a helpful tool, not an authoritative source