Skip to content
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

Closed
be5invis opened this issue Oct 22, 2012 · 5 comments
Closed

利用 UDP 加入"云输入"支持? #3

be5invis opened this issue Oct 22, 2012 · 5 comments

Comments

@be5invis
Copy link

可以考虑。一个类似 DNS 的协议怎样?

@Xuanwo
Copy link

Xuanwo commented Aug 14, 2015

感觉云输入这种东西没啥用处= =

@lotem
Copy link
Member

lotem commented Aug 18, 2015

白度有在線輸入法接口,不過只支持拼音——這可以算進他的無用之處,用於其他輸入法會非常困難
http://olime.baidu.com/

實現上,目前輸入法引擎是在擊鍵後同步返回候選結果的,而雲輸入則是異步的,要在收到回應時以適當的形式插入到已顯示結果中

Prcuvu pushed a commit to Prcuvu/weasel that referenced this issue Oct 20, 2015
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().
@alsophila
Copy link

alsophila commented Apr 11, 2018

雲輸入……這是原則性問題啊!
目前使用雲輸入的輸入法大多數都是為大眾打造的,雲端存儲的是大眾的輸入習慣。
我喜歡Rime就是因為……它只會為用戶一個人著想啊!自己的使用習慣不被大眾玷汙,這是多麼清澈而美好的事情啊!
如果真的開發雲輸入,請一定要加上開關,讓我可以不要使用這個功能!

@qwe7002
Copy link

qwe7002 commented May 9, 2018

我个人认为云输入对于rime这样的项目没有必要。如果说真的要有类似的功能,大概就是个人用户词库同步了吧。

@lotem
Copy link
Member

lotem commented May 9, 2018

不考慮支持雲輸入了。
目前的雲輸入服務只支持拼音、五筆。自己搭 Rime 輸入方案的雲服務工程較大。

(若有能人,以插件形式實現了雲輸入的拼音翻譯器組件,也是不錯的…)

就改善輸入質量,另有一個協同輸入、衆包式改進詞典的構想: rime/plum#5
樓主如果有興趣,不妨瞧瞧,給些建議。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants