hallelujahIM(哈利路亚 英文输入法) is an intelligent English input method with auto-suggestions and spell check features.
中文版 | English Version
哈利路亚英文输入法 是 Mac(10.9+ OSX)及 Windows 平台上一款智能英语输入法。其特性如下:
~/.you_expand_me.json
文件,你可以定义自己常用的词组,比如 {"yem":"you expand me"}
,那么当输入 yem
时会显示 you expand me
。suanfa
,输入法会候选词中会显示 algorithm
。cerrage
或者 kerrage
可以得到 courage
候选词,也可以输入 aosome
或者 ausome
来得到 awesome
候选词。shift
键可以在智能英语输入模式与传统英语输入模式间切换。Enter
回车键和 Space
空格键均可选词提交。Space
空格键选词默认会自动附加一个空格在单词后面,可以在配置页面关闭自动附加空格功能。Enter
回车键选词则不会附加空格。注意:因为本程序不是通过 App store 发布的,Macos 会有下面的安全警告。选中 hallelujah pkg 安装程序,右键点击 Open
来打开,即可开始安装输入法。
主要是受这篇文章启发: hallelujah_autocompletion.
英文拼写心里「没底」?这个输入法能把拼音补全为英文:哈利路亚输入法
点击输入法的 Preferences
或者直接访问本地 HTTP 服务: http://localhost:62718/index.html
open hallelujah.xcworkspace
使用 Xcode 打开 hallelujah.xcworkspace
工程,注意不是打开 hallelujah.xcodeproj
。command + b
构建./Library/Input\ Methods/
目录内测试。NSLog()
在关键或可疑处打 log 日志。ls -l ~/Library/Logs/DiagnosticReports/ | grep hallelujah
命令来查找。Debug
-> Attach to Process By PID or Name...
。这个流程可以 work,但 Xcode 反应会较慢,需要在合适的地方加断点。大杀器,不得已而用之。sh format-code.sh
sh build.sh
sh dev.sh
bash package/build-package.bash
GPL3(GNU GENERAL PUBLIC LICENSE Version 3)
libmarisa.a
lib was built from marisa-trie @006020c1df76d0d7dc6118dacc22da64da2e35c4
.libmarisa.a
lib, run:git clone git://github.com/s-yata/marisa-trie.git
cd marisa-trie
brew install autoconf automake libtool -verbose ## proxychains4 -f /usr/local/etc/proxychains.conf brew install autoconf automake libtool -verbose
autoreconf -i
./configure --enable-static
make
## ls -alh lib/marisa/.libs/libmarisa.a
make install ## we can use marisa-build marisa-lookup marisa-reverse-lookup marisa-common-prefix-search marisa-predictive-search marisa-dump marisa-benchmark cli commands to do some tests and pre-build the trie data.
提交 PR 之前请执行 sh format-code.sh
格式化代码。
请提交问题单到 https://github.com/dongyuwei/hallelujahIM/issues
提供输入法功能定制开发。联系方式:
auto suggestion from local dictionary:
Text Expander:
translation(inspired by MacUIM):
spell check:
pinyin in, English out: