YangXiangGcc / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

无法删除用户自造词 #142

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 输入 "enheng"
2. 输入空格,”恩哼”上屏
3. 再次输入”enheng”
4. 发现 ”恩哼” 已经作为第一个候选词
5. 输入 control+1,
6. "1" 上屏,但是”恩哼”仍然是第一个候选词。
7. 输入”enheng”
8. ”恩哼” 仍然是第一个候选词

What is the expected output? What do you see instead?

希望 ”恩哼” 不再是作为候选词存在

Please use labels and text to provide additional information.

macos 2.0.2, leopard, macbook pro

ibus-sunpinyin, git master, debian sid,

Original issue reported on code.google.com by tchai...@gmail.com on 6 Jun 2010 at 6:32

GoogleCodeExporter commented 8 years ago
mac上的是ctrl+command+数字键。

无法删除可能是因为,虽然”恩哼”在userdict中删除了,但是
"恩"和"哼"这个bigram还在history 
cache中,导致”恩哼”变成最佳句子候选了。所以,我们之后
要在userdict中记录,这个词是由哪几个word_id构成的,然后在��
�userdict删除时,要把这些word_id对应的bi-grams在history 
cache中删除。

Original comment by find...@gmail.com on 8 Jun 2010 at 3:18

GoogleCodeExporter commented 8 years ago
Issue 154 has been merged into this issue.

Original comment by find...@gmail.com on 24 Jun 2010 at 1:50

GoogleCodeExporter commented 8 years ago
我这儿试了了也不行。#archlinux
我听说有些用户用 sqlite 
直接编辑用户词库的。如果有可能的话最好能在 xsunpinyin 
中提供一个用户词库编辑界面,或者作为 ibus 
的一个配置选项出现。对一些常输错字的用户是一个问题。

Original comment by lich...@gmail.com on 10 Dec 2010 at 10:06