-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
利用 UDP 加入"云输入"支持? #3
Comments
感觉云输入这种东西没啥用处= = |
白度有在線輸入法接口,不過只支持拼音——這可以算進他的無用之處,用於其他輸入法會非常困難 實現上,目前輸入法引擎是在擊鍵後同步返回候選結果的,而雲輸入則是異步的,要在收到回應時以適當的形式插入到已顯示結果中 |
I hit this crash on Mac OS X while processing a file with 1 MB in only one line. Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000100456000 0x00007fff82eb4337 in memmove$VARIANT$sse3x () (gdb) bt #0 0x00007fff82eb4337 in memmove$VARIANT$sse3x () rime#1 0x00007fff82f2fe97 in fgets () rime#2 0x000000010000135d in convert (input_file=0x1001039a0 "/Users/jjgod/Downloads/昨日的世界/mobi7/z.html", output_file=0x1001000e0 "n.html", config_file=0x1001023f0 "zht2zhs.ini") at /Users/jjgod/Codes/cpp/OpenCC/src/tools/opencc.c:81 rime#3 0x000000010000176e in main (argc=7, argv=0x7fff5fbff920) at /Users/jjgod/Codes/cpp/OpenCC/src/tools/opencc.c:185 The solution I found is to avoid using the fragile fgets() and memory reallocation and replace it with simple fread() and fseek().
雲輸入……這是原則性問題啊! |
我个人认为云输入对于rime这样的项目没有必要。如果说真的要有类似的功能,大概就是个人用户词库同步了吧。 |
不考慮支持雲輸入了。 (若有能人,以插件形式實現了雲輸入的拼音翻譯器組件,也是不錯的…) 就改善輸入質量,另有一個協同輸入、衆包式改進詞典的構想: rime/plum#5 |
可以考虑。一个类似 DNS 的协议怎样?
The text was updated successfully, but these errors were encountered: