Avro Phonetic Engine
C++17 Trie • F12 ToggleType Bengali phonetically using English QWERTY characters. Built with an optimized native C++ Trie grammar parser matching all Avro Phonetic typing standards:
- Dynamic Diff Backspacing: Emits minimal backspaces to transform committed characters seamlessly (e.g. `k` → ক, `h` → খ).
- Complex Conjuncts (যুক্তবর্ণ): Resolves clusters effortlessly (e.g. `kkh` → ক্ষ, `jng` → জ্ঞ, `nt` → ন্ত).
- Vowel-to-Kar Transitions: Contextually decides full vowel vs. Kar diacritic based on preceding consonant.
- Instant F12 Toggle: One-touch hotkey to jump between English and Phonetic typing in any app.
Full Options & Settings UI
Win32 Native DialogComplete native Win32 settings modal accessible directly from the system tray or top bar menu without external dependencies:
- Live Opacity Slider: Adjust overlay transparency from 20% to 100% with real-time visual feedback.
- Auto-Start with Windows: Toggle launch on boot via standard Windows registry keys.
- Custom Shortcut Mapping: Customize layout switching and phonetic toggle hotkeys on the fly.
Inno Setup CI Distribution
setup/OmorEkushe.issModernized packaging pipeline using industry-standard Inno Setup compiled automatically by GitHub Actions CI:
- Zero Local Dev Overhead: Developers only build pure C++ binaries; GitHub builds setup.
- Smart Running Instance Detection: Auto-closes and upgrades running instances safely.
- Silent Update CLI: Run
OmorEkushe-Setup.exe /VERYSILENT /SUPPRESSMSGBOXESfor zero-prompt updates.
Kernel Low-Level Hook
WH_KEYBOARD_LL
Omor Ekushe intercepts hardware keyboard events directly at the Windows kernel message layer using SetWindowsHookExW(WH_KEYBOARD_LL, ...):
- Zero input latency across all Win32, UWP, WPF, and Chromium web applications.
- Clean passthrough for system hotkeys (Alt+Tab, Windows Key, Ctrl+C/V).
- High-precision character translation with Unicode
SendInput.
Per-Window Layout Memory
HWND Context TrackingNever accidentally type Bengali in a terminal or English in a Bangla manuscript again:
- Remembers layout mode (Bangla or English) independently for every window handle.
- Restores your active layout state immediately upon window focus change.
- Zero background CPU usage during idle state.
Integrated Spelling Checker
Sub-module: SpellingChecker
Built-in C++ spelling verification sub-module in SpellingChecker/ engineered for high-performance Bengali word verification:
- High-speed dictionary lookups for standard Bengali vocabulary.
- Phonetic distance matching for real-time word suggestion candidates.
- Expandable user dictionary support.
Avro Phonetic Transliteration Reference Table
Reference for typing Bengali phonetically with the Omor Ekushe Phonetic Engine (F12).
| Category | English Keys | Bengali Output | Example Transliteration |
|---|---|---|---|
| Vowels (স্বরবর্ণ) | a, aa / A, i, ee / I, u, oo / U, e, oi, o, ou |
অ, আ, ই, ঈ, উ, ঊ, এ, ঐ, ও, ঔ | ami → আমি, eid → ঈদ, oikya → ঐক্য |
| Gutturals & Palatals | k, kh, g, gh, Ng, c, ch, j, jh, NG |
ক, খ, গ, ঘ, ঙ, চ, ছ, জ, ঝ, ঞ | kotha → কথা, gaan → গান, jol → জল |
| Retroflex & Dentals | T, Th, D, Dh, N / t, th, d, dh, n |
ট, ঠ, ড, ঢ, ণ / ত, থ, দ, ধ, ন | Taka → টাকা, tumi → তুমি, desh → দেশ |
| Labials & Sibilants | p, ph / f, b, bh / v, m, sh, Sh, s, h |
প, ফ, ব, ভ, ম, শ, ষ, স, হ | ful → ফুল, bhalobasha → ভালোবাসা, shadhinota → স্বাধীনতা |
| Flaps & Glides | r, l, R, Rh, y, Y |
র, ল, ড়, ঢ়, য়, য় | baRi → বাড়ি, aShaRh → আষাঢ়, doya → দয়া |
| Punctuation & Marks | . (period), : (colon), ^ (caret) |
। (দাঁড়ি), ঃ (বিসর্গ), ঁ (চন্দ্রবিন্দু) | gan gai. → গান গাই।, chad → চাঁদ |
| Common Conjuncts | kkh, jng, nd, nt, st, mps |
ক্ষ, জ্ঞ, ন্দ, ন্ত, স্ত, ম্প | shikkha → শিক্ষা, gyan → জ্ঞান, anondo → আনন্দ |
Custom XML Layout Map Syntax
Learn how to construct custom layout keymap files for Omor Ekushe.
Omor Ekushe scans the data/Layouts/ directory at application startup for any .xml layout definition file.
Each layout is structured with root <Layout> and repeating <KeyMap> elements:
<?xml version="1.0" encoding="utf-8"?>
<Layout name="YourLayoutName" author="YourName" version="1.0">
<!-- virtual keycode vk="0x41" maps to hardware key 'A' -->
<KeyMap vk="0x41">
<Normal>া</Normal> <!-- Character produced when typing 'A' -->
<Shift>অ</Shift> <!-- Character produced when typing Shift + 'A' -->
<AltGr>্</AltGr> <!-- Character produced when typing AltGr + 'A' -->
</KeyMap>
</Layout>
Normal Tag
Defines the default character output without shift keys pressed.
Shift Tag
Defines character output when Shift modifier key is held down.
AltGr Tag
Defines optional third-tier character output for AltGr / Right-Alt combinations.