dongyuwei/hallelujahIM
About
hallelujahIM(哈利路亚 英文输入法) is an intelligent English input method with auto-suggestions and spell check features.
Other ProjectsMeasured star growth
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- +4
- in 1 month
- +11
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README-En.md
OriginalhallelujahIM
hallelujahIM is an english input method with auto-suggestions and spell check features.
- The auto-suggestion words are derived from Google's 1/3 million most frequent English words. I have refined this list to 140,402 words, removing nearly all misspelled ones. Candidate words are sorted by frequency.
- HallelujahIM also functions as a Spell-Checker: when you input an incorrect word, it will suggest the right alternatives.
- HallelujahIM also serves as a Text Expander: You can define your favorite substitutions on Hallelujah's native Preferences window, such as
{"te":"text expander", "yem":"you expand me"}. - Instant translation is available as you type words (currently, it only supports English-to-Chinese, but the translation dictionary can be configured later on).
- Pinyin to English: you can input Hanyu Pinyin and receive the matching English word.
- Fuzzy phonetic match is another feature. For example, you can input
cerrageorkerrageto getcourage, andaosomeorausometo getawesome. - The right Command key cycles through three input modes: intelligent English → Pinyin → traditional English (raw, keys pass straight through to the app) → back to intelligent English. Pinyin is skipped while it is disabled in Preferences (it is off by default).
- Pinyin to Chinese: Press the right
Commandkey to cycle into Pinyin input mode (enableEnable pinyin (Rime) inputin Preferences first). Type Chinese pinyin and get Chinese hanzi candidates;spaceor a digit key commits the highlighted candidate,Entercommits it without a trailing space. The raw pinyin always occupies a configurable candidate position (the 2nd by default, configurable 1st–5th in Preferences); pressing its digit commits the typed input as-is (space follows the commit-word-with-space preference). Non-pinyin input can offer up to three English completions. These lead by default (book,star), but strong pinyin with a complete prefix of at least three letters covering at least 70% of the input puts three Chinese candidates first (wend→ 稳定、温度、文档), keeping the English completions after them. Press rightCommandagain to cycle back to intelligent English input mode. - Custom grid candidate panel: the candidate panel is drawn by the input method itself (
CandidatePanel+CandidatePanelState): a grid of 5–9 columns (default 7; 9 is the ceiling because digits 1-9 are the selection keys), configurable in Preferences, with 50 Rime candidates per page. At most five rows are visible; keyboard navigation scrolls the candidate window at its edges, but no visible scrollbar is drawn. The grid layout follows SwiftType's Grid Panel design: arrow-key navigation, the first↓expands the grid, afterwards all four arrows navigate (another↑at the first row collapses it),←/→cycle within the active row, and space/Enter/digit keys commit the highlighted candidate. - Translation drawn inside the candidate panel (replaces the separate annotation window): the highlighted word's phonetic symbol and gloss are drawn as a compact row at the bottom of the panel (auto-hidden when there's no translation) instead of a floating window. Refreshes as you move the highlight.
- Candidate panel skins: six built-in skins — Matrix (default), Verdant, Carbon, Graphite, Tangerine and Classic — switchable from the
Skindropdown on the preference web page, applied live. The five colorful skins are cloned from Remix-Design/Sogou-Input-Skin's open-source design mockups.
download and install
- download releases
- for macOS 26.6.2 (Tahoe) and later: https://github.com/dongyuwei/hallelujahIM/releases/latest, download the .pkg installer.
- for older macOS (10.12 ~ 15.x): https://github.com/dongyuwei/hallelujahIM/releases/tag/v1.7.2, download the .pkg installer.
- for macOS 10.9 ~ 10.11(Deprecated version): https://github.com/dongyuwei/hallelujahIM/releases/tag/v1.1.1, deprecated version, need to install the .app manually.
- Windows: ported to Windows based on PIME,https://github.com/dongyuwei/Hallelujah-Windows, download the .exe installer.
- Linux:https://github.com/fcitx-contrib/fcitx5-hallelujah, thanks Qijia Liu!
- Android: https://github.com/dongyuwei/Hallelujah-Android
- unzip the app, copy it to
/Library/Input\ Methods/or~/Library/Input\ Methods/ - go to
System Preferences-->Input Sources--> click the + --> select English --> select hallelujah
- switch to hallelujah input method
⚠️ Note: Because this app is not distributed through the App Store and is not signed/notarized with a Developer ID, macOS will show a security warning when you open the .pkg installer. How to get past it depends on your macOS version:
- macOS 14 and earlier: right-click the hallelujah .pkg installer and choose
Opento start the installation.- macOS 15 (Sequoia) and later: the right-click
Opentrick no longer works. OpenSystem Settings→Privacy & Security, scroll down to the notice about the blocked installer, and clickOpen Anyway.- Alternatively, remove the quarantine attribute in Terminal, then double-click the pkg:
xattr -d com.apple.quarantine ~/Downloads/hallelujah-*.pkg
⚠️ Note: If the input method isn't added automatically after restarting, go to
System Settings→Keyboard→Text Inputand add it manually.
update/reinstall
- delete the hallelujah from
Input Sources - kill the old hallelujah Process (kill it by
pkill -9 hallelujah, check it been killed viaps ax|grep hallelujah) - replace the hallelujah app in
/Library/Input Methods/. - add the hallelujah to
Input Sources - switch to hallelujah, use it.
Why it's named hallelujahIM?
Inspired by hallelujah_autocompletion.
preferences setting
click Preferences... in the input method menu to open the native preferences window.


- Enable pinyin (Rime) input: off by default. When on, the right-
Commandcycle passes through the Pinyin mode, where typing pinyin yields Chinese hanzi candidates; when off, the cycle alternates between intelligent English and traditional English only. - Pinyin raw input candidate position: the 2nd by default. The typed pinyin always occupies this candidate position in the panel (configurable 1st–5th); pressing its digit commits the typed input as-is. Set it to the 1st and space/Enter commit the raw input.
- Grid columns (5-9): 7 by default (9 is the ceiling because digits 1-9 are the selection keys; below 5 there is no reason to have a grid at all). Column widths fit the rows that are on screen — the first row while collapsed (so the bar stays compact), the visible rows once expanded (never reserving room for words scrolled out of view). Opening or closing the grid is therefore a deliberate re-fit, and scrolling to another screenful re-fits again, but navigating within a screenful never moves a column. Every cell reserves the same number gutter, so words line up whether or not their row shows selection keys. The first
↓press expands the panel to all rows, afterwards all four arrow keys navigate (←/→cycle within the active row,↑again at the first row collapses), and space/Enter/digits commit the highlighted candidate. The highlighted word's phonetic and gloss are drawn as a bottom row inside the panel and auto-hide when there's no translation. - Skin: the candidate panel's palette,
Matrixby default (dark navy background, teal highlight). Also available:Verdant(white, rounded, green highlight),Carbon(charcoal, white text),Graphite(plain white, black text),Tangerine(white with an orange border and highlight) andClassic(the original dark palette). Switching applies live; no restart needed. The five colorful skins are cloned from Remix-Design/Sogou-Input-Skin.
Development
Building, debugging, testing, packaging, data storage and implementation notes live in dev-guide.md. Run sh format-code.sh before submitting a PR.
License
GPL3(GNU GENERAL PUBLIC LICENSE Version 3)
Thanks to the following projects:
- FMDB, SQLite wrapper for efficient prefix matching queries.
- cc-cedict:
dictionary/cedict.jsonis transformed from it and used to build thecedict_pinyintable. - librime, the Rime input method engine powering the pinyin mode, together with rime-prelude, rime-luna-pinyin (schema and dictionary), rime-stroke (stroke reverse lookup), rime-essay (word frequencies) and OpenCC (Chinese conversion). The extended terminology dictionary
rime-data/cs_ai.dict.yamlcomes from the v0.4.0 release of mizorewww/rime-qwen-freq (MIT license); its CS/AI term frequencies were calibrated offline with Qwen3-14B-Base. - cmudict and https://github.com/mphilli/English-to-IPA
- talisman, using its phonex algorithm to implement fuzzy phonics match.
- MDCDamerauLevenshtein, using it to calculate the edit distance.
- squirrel, I shamelessly copied the script to install and build pkg App for Mac.
- SwiftType, the grid candidate panel's navigation semantics (first-press expand, four-way navigation, in-row cycling) are inspired by its Grid Panel implementation. Thanks mgxv!
- Sogou-Input-Skin by xiaochun, the five colorful candidate-panel skins (Matrix, Verdant, Carbon, Graphite, Tangerine) are cloned from its open-source design mockups.
snapshots

Paid Support
If functional you need is missing but you're ready to pay for it, feel free to contact me. If not, create an issue anyway, I'll take a look as soon as I can.
Contact me
- wechat: dongyuwei
- gmail: newdongyuwei
Explore related projects
Loading…