|
XCIN Mail-list
|
| Indexed By Date: [Previous] [Next] | Indexed By Thread: [Previous] [Next] |
| Subject: | bims.c暫時解決的patch |
| From: | vgod <vgod@CirX.org> |
| Date: | Sat, 6 Jan 2001 18:44:44 +0800 |
| To: | xcin@linux.org.tw |
| Delivered-To: | xcin-gate@tlug.sinica.edu.tw |
| Delivered-To: | xcin-list@tlug.sinica.edu.tw |
| Reply-To: | xcin@tlug.sinica.edu.tw |
嗯 為了暫時解決破音字的詞頻都相同的問題.. 我把bims.c改了一下 原來是送出詞頻最高的字,我改成會送出預設字序的第一個字 但這樣有好有壞,因為我不太了解原來預設的字序是否也有經過頻率的排序 所以有時候打單字可能就不會出現想要的字 但這也難免的(就算不改還是會這樣><) (而且有"或","快"...這些麻煩的字..^^;) 所以說如果覺得有必要patch的可以自己patch一下就行了 (我是拿CVS server上最新版本做出來的patch) 基本上這是暫時解決用的 要徹底解決這種問題還是需要語境分析,或動態變更字序等功能才行.. 以下是patch檔 --- 328a329 > 329a331 > /* 333c335 < --- > */ 337a340 > /* 355c358 < --- > */ 357c360 < strncpy((char *)z, (char *)str+i*2, 2); --- > strncpy((char *)z, (char *)str, 2); ---END OF PATCH To Unsubscribe: send mail to majordomo@linux.org.tw with "unsubscribe xcin" in the body of the message
| Indexed By Date | Previous: |
Add Tsi From: Kuang-che Wu <kcwu@ck.tp.edu.tw> |
|---|---|---|
| Next: |
Re: Add Tsi From: "Tzu-hsien Yu" <thyu@ck.tp.edu.tw> |
|
| Indexed By Thread | Previous: |
關於字序的BUG?... From: vgod <vgod@circ.tcfsh.tc.edu.tw> |
| Next: |
tsi.src change of this week From: thhsieh@tlug.sinica.edu.tw |