選字順序有問題

105 views
Skip to first unread message

karry su

unread,
Jun 4, 2014, 8:53:57 PM6/4/14
to ibus...@googlegroups.com
我在 Ubuntu 14.04 上使用 ibus 1.5.5
輸入法是使用嘸蝦米
但在選字時,不知為何,順序是不正確的
例如下圖,sme 應該是"組"這個字,但它卻是先列 smeb "犋" 這個字,再列"組"
有很多字都是這樣
不知這可能是什麼原因?

我將 table 表簡化如下後,還是一樣的情況
再麻煩協助一下,謝謝

### File header must not be modified
### This file must be encoded into UTF-8.
### This table under LGPL
### comments start with ### not single #
### Derive from the format of SCIM Table, so you can modify the table from
### scim-tables' table
SCIM_Generic_Table_Phrase_Library_TEXT
VERSION_1_0

### Begin Table definition.
BEGIN_DEFINITION

### License
LICENSE = LGPL

### An unique id to distinguish this table among others.
### Use uuidgen to generate this kind of id.
UUID = c9851827-0abe-12ed-8db5-010b9d51ffed

### A unique number indicates the version of this file.
### For example the last modified date of this file.
### This number must be less than 2^32.
### Just make your table version-able
SERIAL_NUMBER = 20140601

### ICON can be any format as long as your pygtk can recognized
### the most widely ones are "png" and "svg", letter one is recommended
ICON = boshiamy.png

### The default name of this table, this is needed
NAME = Boshiamy

### The local names of this table, this is optional
NAME.zh_TW = 嘸蝦米

### Description
DESCRIPTION = Boshiamy Input Method

### Supported languages of this table
### sigle "zh_CN" just be recognized as zh_CN,
### but "zh_CN, zh_HK" or more zh_XX will be recognized as zh;
### and "en_US, zh_CN" will be just ignored.
### LANGUAGES = zh_CN,zh_SG,zh_TW,zh_HK
LANGUAGES = zh_TW

### The author of this table
AUTHOR = XXX <x...@gmail.com>

### Prompt string to be displayed in the status area, CN will be replaced by
### the gettext tools in runtime as 中.
STATUS_PROMPT = CN

### If true then the phrases' frequencies will be adjusted dynamically.
### DYNAMIC_ADJUST = TRUE
DYNAMIC_ADJUST = FALSE

### Use auto_commit mode as default
### AUTO_COMMIT = TRUE
AUTO_COMMIT = FALSE

### Automatically selects the first phrase when typing
AUTO_SELECT = FALSE

### Use full width punctuation by default
### 標點符號使用全形字
### DEF_FULL_WIDTH_PUNCT = TRUE
DEF_FULL_WIDTH_PUNCT = FALSE

### Not use full width letter by default
DEF_FULL_WIDTH_LETTER = FALSE

### The max number of input keys for every phrase or character.
MAX_KEY_LENGTH = 5

### Valid input chars.
VALID_INPUT_CHARS = ,.'abcdefghijklmnopqrstuvwxyz[]

### Whether support PinYin Mode, default is true.
### this feature is just for Chinese, set it to False if your IM is not
### Chinese.
### PINYIN_MODE = TRUE
PINYIN_MODE = FALSE

### Whether user are allow to define phrase, default is true
### You have to define the word construction rules below.
### For input methods which do not input phrases, set this to False
USER_CAN_DEFINE_PHRASE = FALSE

### Layout
LAYOUT = us

### Some characters whose frequencies should be fix all the time, e.g. 
### some punctuations
### NO_CHECK_CHARS = 

### Define the prompts of each valid input char.
###BEGIN_CHAR_PROMPTS_DEFINITION
###a 日
###b 月
###c 金
###d 木
###e 水
###f 火
###g 土
###h 竹
###i 戈
###j 十
###k 大
###l 中
###m 一
###n 弓
###o 人
###p 心
###q 手
###r 口
###s 尸
###t 廿
###u 山
###v 女
###w 田
###x 難
###y 卜
###z 重
###END_CHAR_PROMPTS_DEFINITION

### Rules for constructing user defined phrase
### "ce" stands for "ci equal", a Chinese English :), means "phrase length
### equal to", thus ce2 -> phrase length equal to 2; and "ca" means "phrase
### length equal or above", so ca4 -> phrase length equal or above 4.
### p21 -> the 1st key of 2nd character in the phrase, and so on.
### Each rule separate via ";". 
### Example below is a complete rule-set, 
### becuase [2,2] ∩ [3,3] ∩ [4,+∞] = [2,+∞], which is the range of length
### of phrase. This have to be satisfied if you need ibus-table to build up
### your own inputed phrase via your daily using.
###RULES = ce2:p11+p12+p21+p22;ce3:p11+p21+p22+p31;ca4:p11+p21+p31+p41

END_DEFINITION

### Begin Table data.
### Format of every line whose formated in "input_keys\tphrase\tfreq\n" is an
### entry.
### From left to right, the 1st column are the input key combination that you
### entered via keyboard; the 2nd column are presented character or phrase of
### the key combination you want; the 3rd column are frequency of the character
### or phrase.
BEGIN_TABLE
sme 1
smeb 1
END_TABlE

Chih-Wei Huang

unread,
Jun 19, 2014, 11:38:55 PM6/19/14
to ibus...@googlegroups.com

I encountered the same problem on fedora 20 + ibus 1.5.7 + ibus-table 1.8.2.
Any idea?

karry su於 2014年6月5日星期四UTC+8上午8時53分57秒寫道:

Chih-Wei Huang

unread,
Jun 20, 2014, 2:37:32 AM6/20/14
to ibus...@googlegroups.com

我常出問題的是像「杰」「表」等字。
表格中明明如下,但打 vk 出來的卻是「囊」

vk      表      100
vkb     魌      100
vkb     褀      99
vke     衽      100
vkeb    鬂      100
vki     鬿      100
vkl     衴      100
vkl     髧      99
vkn     衷      100
vkv     囊      100

還有打 tfa 出來「檮」

tfa     杰      100
tfa     檮      99
tfa     傑      98

快昏倒了... 怎麼辦?

Chih-Wei Huang於 2014年6月20日星期五UTC+8上午11時38分55秒寫道:

Vinci Da

unread,
Dec 7, 2014, 5:40:13 AM12/7/14
to ibus...@googlegroups.com
我遇到這個問題是用這個方式解決的:
點選桌面的輸入法圖示->選擇Chinese mode->選擇Alll Chinese characters

karry su於 2014年6月5日星期四UTC+8上午8時53分57秒寫道:
Reply all
Reply to author
Forward
0 new messages