Nolbir01 / rimeime

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

鼠须管0.9.8无法调整词频 #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
比如麦兜,比如这,怎么样输入都无法调整到第一位

Original issue reported on code.google.com by zieg...@gmail.com on 9 Jul 2012 at 6:54

GoogleCodeExporter commented 9 years ago
怎樣輸入?

Original comment by chen....@gmail.com on 9 Jul 2012 at 7:11

GoogleCodeExporter commented 9 years ago
就是正常输入,一般重复输入一个字或词组的话都能调整它��
�词频,但是在0.9.8无效

Original comment by zieg...@gmail.com on 9 Jul 2012 at 7:12

GoogleCodeExporter commented 9 years ago
按描述的「正常輸入」,重現不來。

Original comment by chen....@gmail.com on 9 Jul 2012 at 7:13

GoogleCodeExporter commented 9 years ago
比如我现在输入dao这个拼音第一候选字是刀,但是我希望的��
�到,然后我就重复输入dao,选择到字,这样在0.9.8之前都能��
�现词频调整,但是0.9.8有些第一候选就被固定了

Original comment by zieg...@gmail.com on 9 Jul 2012 at 7:15

GoogleCodeExporter commented 9 years ago
沒見過有這樣的。
可否把 ~/Library/Rime/rime.log 傳上來看看?

Original comment by chen....@gmail.com on 9 Jul 2012 at 7:24

GoogleCodeExporter commented 9 years ago
好的,日志在此

Original comment by zieg...@gmail.com on 9 Jul 2012 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
沒有報錯,應該能調頻吧。多打幾次「到」呢?另外「到」��
�其他同音字呢?

Original comment by chen....@gmail.com on 9 Jul 2012 at 7:32

GoogleCodeExporter commented 9 years ago
无论再次如何输入都无法更改词频。。

Original comment by zieg...@gmail.com on 9 Jul 2012 at 7:35

GoogleCodeExporter commented 9 years ago
退回到0.9.7也发现不行了。。。配置文件如下

Original comment by zieg...@gmail.com on 9 Jul 2012 at 7:37

Attachments:

GoogleCodeExporter commented 9 years ago
至少說明不是「鼠须管0.9.8无法调整词频」。
再者,怎樣判斷出詞頻沒更改呢?用戶詞典(luna_pinyin.userdb.kct
)有更新嘛?

Original comment by chen....@gmail.com on 9 Jul 2012 at 7:45

GoogleCodeExporter commented 9 years ago
从候选字就能看出来啊,如果有调整的话,所希望的候选字��
�序就有改变

Original comment by zieg...@gmail.com on 9 Jul 2012 at 7:47

GoogleCodeExporter commented 9 years ago
看不出爲什麼來——並不是每次上屏都會導致順序改變。是��
�的沒有更新用戶詞典,還是第一位的位置足夠高,幾次上屏�
��不能超越?既然zieglar君這樣有探索精神,那麼只有一個辦��
�了:

http://code.google.com/p/rimeime/downloads/detail?name=rime_dict_manager_0.9.2_o
sx.zip

用他,把用戶詞典的內容導出爲文本,看看究竟是什麼狀況��
�

Original comment by chen....@gmail.com on 9 Jul 2012 at 7:52

GoogleCodeExporter commented 9 years ago
导出一个成了这样。。。

Original comment by zieg...@gmail.com on 9 Jul 2012 at 7:59

Attachments:

GoogleCodeExporter commented 9 years ago
还是你想告诉我我其实又一次遭遇到了苦逼的词库损坏问题��
�

Original comment by zieg...@gmail.com on 9 Jul 2012 at 8:07

GoogleCodeExporter commented 9 years ago
打字很多嗎?比我多一倍。
# commits: 26125

那些亂字符,我發現詞頻都是0。是不是導入了非UTF-8編碼的��
�本吶。

總之這個 userdb 
不建議繼續用了,其「文件格式」還是對的,內容已經亂了��
�
不如刪之…………

Original comment by chen....@gmail.com on 9 Jul 2012 at 8:09

GoogleCodeExporter commented 9 years ago
其實亂碼以外的詞都是正常的對不對。我好奇那些亂碼項的��
�歷。

Original comment by chen....@gmail.com on 9 Jul 2012 at 8:10

GoogleCodeExporter commented 9 years ago
好囧,因为导入过几次拼音加加和搜狗的文本词库,不过那��
�6月中旬的事情了
那时候还不知道导入词库还有那么麻烦的问题,还是不折腾��
�。。。sigh

Original comment by zieg...@gmail.com on 9 Jul 2012 at 8:12

GoogleCodeExporter commented 9 years ago
哈,把導出文本以UTF16-LE編碼顯示,真相大白。這都是什麼…
…

Original comment by chen....@gmail.com on 9 Jul 2012 at 8:13

GoogleCodeExporter commented 9 years ago
rime_dict_manager(3737) malloc: *** mmap(size=10383490669911203840) failed 
(error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
terminate called throwing an exception[1]    3737 abort      
./rime_dict_manager -b luna_pinyin

Original comment by zieg...@gmail.com on 9 Jul 2012 at 8:15

GoogleCodeExporter commented 9 years ago
哈,那还能修复么。。。

Original comment by zieg...@gmail.com on 9 Jul 2012 at 8:15

GoogleCodeExporter commented 9 years ago
rime_dict_manager 和鼠鬚管會打架,關掉輸入法,
killall Squirrel
再執行,就不怕文件被佔用了。

修復……你有技術,可以把文本過濾一遍,導回新的詞典文��
�。

Original comment by chen....@gmail.com on 9 Jul 2012 at 8:19

GoogleCodeExporter commented 9 years ago
我是kill掉以后执行的-b命令,都是这样报错,我这边转成utf16
-lt以后更看不懂了。。。乱码

Original comment by zieg...@gmail.com on 9 Jul 2012 at 8:24

GoogleCodeExporter commented 9 years ago
幫你用正則表達式替換了一下。
這樣來回導一遍,肯定沒有原來效果好。但總算找回些詞組��
�

Original comment by chen....@gmail.com on 9 Jul 2012 at 8:35

Attachments:

GoogleCodeExporter commented 9 years ago
这样已经很好了,非常感谢

Original comment by zieg...@gmail.com on 9 Jul 2012 at 8:37