(Translated by https://www.hiragana.jp/)
Wubi method - Wikipedia Jump to content

Wubi method

From Wikipedia, the free encyclopedia
Wubi method
Simplified Chinese五笔字型输入法
Literal meaningfive-stroke character model input method
Transcriptions
Standard Mandarin
Hanyu Pinyinwǔbǐ zìxíng shūrùfǎ
Wade–Gileswupi tzuhsing shujufa
Yue: Cantonese
Jyutpingng5bat1 zi6jing4 syu1jap6faat3
Alternative Chinese name
Simplified Chineseおう
Literal meaningWang code
Transcriptions
Standard Mandarin
Hanyu Pinyinwáng mǎ
Wade–GilesWang ma
Yue: Cantonese
JyutpingWong4 maa5
The Wubi 98 keyboard layout
The Wubi 86 keyboard layout (more common)
A QWERTY keyboard with Wubi 86 components

The Wubizixing input method (simplified Chinese: 五笔字型输入法; traditional Chinese: ぴつがた輸入ゆにゅうほう; pinyin: wǔbǐ zìxíng shūrùfǎ; lit. 'five-stroke character model input method'), often abbreviated to simply Wubi or Wubi Xing,[1] is a Chinese character input method primarily for inputting simplified Chinese and traditional Chinese text on a computer. Wubi should not be confused with the Wubihua (笔画) method, which is a different input method that shares the categorization into five types of strokes.

The method is also known as Wang Ma (simplified Chinese: おう; traditional Chinese: おう; pinyin: Wáng mǎ; lit. 'Wang code'), named after the inventor Wang Yongmin (おうひさしみん). There are four Wubi versions that are considered to be standard: Wubi 86, Wubi 98, Wubi 18030 and Wubi New-century (the 3rd-generation Version). The latter three can also be used to input traditional Chinese text, albeit in a more limited way. Wubi 86 is the most widely known and used shape-based input method for full letter keyboards in Mainland China. If it is frequently needed to input traditional Chinese characters as well, other input methods like Cangjie or Zhengma may be better suited to the task, and it is also much more likely to find them on the computer one needs to use.

The Wubi method is based on the structure of characters rather than their pronunciation, making it possible to input characters even when the user does not know the pronunciation, as well as not being too closely linked to any particular spoken variety of Chinese. It is also extremely efficient: nearly every character can be written with at most 4 keystrokes. In practice, most characters can be written with fewer. There are reports of experienced typists reaching 160 characters per minute with Wubi.[2] What this means in the context of Chinese is not entirely the same as it is for English, but it is true that Wubi is extremely fast when used by an experienced typist. The main reason for this is that, unlike with traditional phonetic input methods, one does not have to spend time selecting the desired character from a list of homophonic possibilities: virtually all characters have a unique representation.

As its name suggests, the keyboard is divided into five regions. The Chinese character (bǐ), when used in the context of writing Chinese characters, refers to the brush strokes used in Chinese calligraphy. Each region is assigned a certain type of stroke.

  • Region 1: horizontal (いち)
  • Region 2: vertical (丨)
  • Region 3: downward right-to-left (丿)
  • Region 4: dot strokes or downward left-to-right strokes (丶)
  • Region 5: hook (おつ)

A major drawback to learning Wubi is its steeper learning curve, since as a more complex system it takes longer to acquire as a skill. Memorization and practice are key factors for proficient usage.

To use Wubi, there are multiple input methods available, including Google Input Tools (used by Google Translate) and keyboard options on Mac devices. Wubi sequences can be looked up for specific characters by using online dictionaries.

In this article, the following convention will be used: character will always mean Chinese character, whereas letter, key and keystroke will always refer to the keys on keyboard.

How it works

[edit]

Essentially, a character is broken down into components, which are usually (but not always) the same as radicals. These are typed in the order in which they would be written by hand. In order to ensure that extremely complex characters do not require an inordinate number of keystrokes, any character containing more than 4 components is entered by typing the first 3 components written, followed by the last. In this way, each character's data can be entered with no more than 4 keystrokes.

Wubi distributes its characters very evenly and as such the vast majority of characters are uniquely defined by the 4 keystrokes discussed above. One then types a space to move the character from the input buffer onto the screen. In the event that the 4 letter representation of the character is not unique, one would type a digit to select the relevant character (for example, if two characters have the same representation, typing 1 would select the first, and 2 the second). In most implementations, a space can always be typed and simply means 1 in an ambiguous setting. Intelligent software will try to make sure that the character in the default position is the one desired.

Many characters have more than one representation. This sometimes is for ease of use, in case there is more than one obvious way to break down a character. More often though, it is because certain characters have a short representation that is less than 4 letters, as well as a "full" representation.

For characters with fewer than 4 components that do not have a short form representation, one types each component and then "fills up" the representation (that is, types enough extra keystrokes to make the representation 4 keystrokes) by manually typing the strokes of the last component, in the order they would be written. If there are too many strokes, one should write as many as possible, but put the last stroke last (this mirrors the component rule for characters with more than 4 components outlined above).

Once the algorithm is understood, one can type almost any character with a little practice, even if one has not typed it before. Muscle memory ensures that frequent typists using this method do not have to think about how the characters are actually constructed, just as the vast majority of English typists do not think very much about the spelling of words when they write.

Implementation of specific details

[edit]

Many implementations employ further, multiple-word optimizations. Usually, a commonly used digraph (two character word) in which both characters have short form two-keystroke representations can be combined into a single, four keystroke representation which generates two characters rather than one. There are also a few 3-character shortcuts, and even one rather longer, politically motivated one.[clarification needed] Some examples of these are provided in the examples section below.

Another common feature is the use of the 'z' key as a wildcard. The Wubi method was actually designed with this feature in mind; this is why no components are assigned to the z key. Basically, one can type a z when unsure what the component should be, and the input method will help complete it. If one knew, for example, that the character ought to start with "kt", but was unsure what the next component should be, typing "ktz" would produce a list of all characters starting with "kt". In practice though, many input method engines use a tabular lookup method for all table based input systems, including for Wubi. This means that they simply have a large table in memory, associating different characters to their respective representations. The input method then simply becomes a table lookup. In such an implementation, the z key breaks the paradigm and as such is not found in much generalized software (although the Wubi input method commonly found in Chinese Windows implements the feature). For this same reason, the multiple character optimization described in the previous paragraph is also relatively rare.

Some input methods, such as xcin (found on many UNIX-like systems), provide a generic wildcard functionality which can be used in all the table based input systems, including pinyin and virtually anything else. Xcin uses '*' for auto-complete and '?' for just one letter, following the conventions pioneered in UNIX file globbing. Other implementations have their own conventions.

Subdivision of the keyboard

[edit]

The Wubi keyboard assumes a QWERTY-like layout, so users of keyboards implementing a nationalized or alternative layout (such as Dvorak or the French AZERTY) will probably have to do some remapping to make the system sane. Wubi does not position its components arbitrarily: there are far too many of them, and it is only with the introduction of a logical methodology that the system becomes easy to learn.

Basically, the keyboard is divided into 5 zones, each representing a stroke. Those five strokes are falling left, falling right, horizontal, vertical, and hook, and the zones that represent them are QWERT, YUIOP, ASDFG, HJKLM, and XCVBN, respectively. These zones are all laid out horizontally, with the exception of M, which is not in line with the rest of the letters in its zone.

In a general way, the keyboard can be thought of as divided down the center, between T and Y, G and H, and N and M. The keys in each zone are numbered moving away from this dividing line: so we should actually say that in zone QWERT, T is the first letter, R is the second, and E the third; in zone YUIOP, Y is the first, U is the second, I the third, etc. For XCVBN, N is the first, and so on. In HJKLM, consider M to be the last in the series, even though it does not lie on the line.

This is important because components in the first position will have one repetition of the stroke in question (the stroke assigned to the zone in which they belong), those in the second, two, those in the third, three. Those components which are not easily classifiable using this paradigm will be placed on the last letter.

Therefore, one would expect いち to be located on G, and on F, and さん on D, and indeed, this is the case. Similarly, one would expect 丨 to be located on H, 刂 to be on J, and がわ to be on K. This pattern holds for all the zones. Furthermore, it extends to most radicals that look as though they are made up of three such strokes, even if in fact they might not be at all. An example of this is ちゅう on K: while it does not have three downward strokes (two only), it appears to have three. Furthermore, it is written by hand by first writing a mouth radical, くち, and then bisecting it with a vertical downward stroke. The mouth radical lies on 'K', so this makes the assignment doubly logical. And the pinyin romanization of くち, kou3, begins with k, another memory aid encoded into the Wubi keyboard.

Furthermore, each letter of each zone has one component associated with it, its "main component". These are usually a complete character (with the exception of X) in their own right. One can always type this main component by typing the letter it is situated on four times. So, for example, the main component of H is , and so one would type it by typing "hhhh".

Each letter also has a shortcut character associated with it. In some cases, this character is the same as the component associated with the key in question, and sometimes not. This shortcut character is the character produced when one types just the letter and nothing else; these are all extremely common characters used when typing Chinese.

It is entirely possible that there are a number of components not listed below, either because of oversight, because they are rarely used, or because no simple Unicode representation for the component exists.

QWERT zone (falling left)

[edit]

The Q key's main component is きん and its shortcut character is わが. It is associated with the following components: きむ, 钅, 勹, 儿, ゆう, as well as the hook at the top of 饣 and かく, the radical 犭 without the lower left-falling stroke (so characters with that radical start with "qt", not just "q"), the criss-cross (such as in the center of ), the top of 鱼 (i.e., without the horizontal stroke at the bottom), and the three (nearly vertical) "feet" in the bottom right corner of りゅう.

The W key's main component and shortcut character are both じん. It is associated with the following components: ひと, 亻, はち, and the top of みずのと. While じん means person, it is often used by Wubi to construct a roof radical, such as in かい, "wfc". いれ is not governed by W, despite looking similar, and while 餐 has a top that looks vaguely like the top of みずのと, the two are not the same (indeed, to type 餐, one must physically type out each component on the top).

The E key's main component is がつ, and its shortcut character is ゆう. It is associated with the following components: がつ, もちい, 彡, 乃, the bottom of ころも (i.e., without 亠), the top of まこと (i.e., without ), いのこ (hog), the bottom of りょう (i.e., without the しろ), and the bottom of ふね (i.e., without the little dot on the top). In this case, E's shortcut character does not even begin with a left-falling stroke, but merely prominently figures a component belonging to E. 彡 is featured on this character, as it is the third character in the zone (counting from T, see above). A particular distortion that comes up often is the use of E in 且 and in characters containing it: Wubi thinks of this component as がつ + いち.

The R key's main component is しろ, and its shortcut character is てき. It is associated with the following components: しろ, , 扌, きん (both with and without the T), うし (without the vertical downward stroke), and of course the two left-falling strokes 𰀪 that one would expect from the second key in the zone (see above for an explanation). Watch out for varieties of where the central downward hook is replaced by a left-falling stroke, such as in .

The T key's main component is 禾, and its shortcut character is . It is associated with the following components: 禾, たけ, 夂, 攵, 彳, and the top of 乞 (i.e., without the おつ). たけ may also be found in its smaller form (⺮). 丿 is also found on this key, because T is the first key in the zone (see above). This means that if one is typing a component or character stroke by stroke, they would (generally) use T to represent a left-falling stroke. See the section on disambiguation strokes for more information on exceptions to this rule.

YUIOP zone (falling right)

[edit]

This zone might also be called the dot zone, because its pattern of Y: 讠 U: 冫 I: 氵 and O: 灬 is not actually necessarily built up of right falling strokes. In fact, one could argue that the first stroke in 灬 actually falls left. It is called the falling right zone because the keys in this zone, when used to construct a character by stroke (rather than component), all represent right falling strokes for some character configuration (see the section on disambiguation strokes for more information).

The Y key's main component is げん, and its shortcut character is ぬし. It is associated with the following components: げん, 讠, 亠, 亠 with a くち beneath it, 广, ぶん, かた, and 丶. These components all start with a right-falling stroke. Generally, dots in Chinese characters are actually left falling strokes, and so most of the time, the use of T is more appropriate than Y. Of course, if one can write Chinese characters by hand, they should be able to tell which to choose by recalling how it is written.

The U key's main component is りつ, and its shortcut character is 产. It is associated with the following components: だて, ろく, からし, 门, 疒, 丬, 冫, the "antennae" on the top of 单 (just two strokes: 丷), and the antennae plus a horizontal stroke, as found on the top of 兹. Most of these all feature two short diagonal strokes (门 being the obvious exception). This is consistent with U's place as the second letter in the zone (see above for an explanation).

The I key's main component is みず, and its shortcut character is . It is associated with the following components: みず, 氵, しょう, the three strokes on the top of がく, and the three strokes on the top of とう. Additionally, a component which might be described as two 冫, back to back, is associated with this character.

The O key's main component is , and its shortcut character is 为. It is associated with the following components: , べい, 灬, and 业 without the bottom horizontal stroke — this allows construction of characters such as 严. This is the 4th key in the falling right zone: hence the inclusion of 灬.

The P key's main component is , and its shortcut character is 这. It is associated with the following components: これ, 辶, 廴, 冖, 宀, and 礻. As Wubi components are typed in the order that they would need to be written were one writing by hand, the 辶 and 廴 components are typically typed last.

ASDFG zone (horizontal)

[edit]
  • The A key's shortcut character is こう.
  • The S key's main component is , and its shortcut character is よう.
  • The D key's main component is だい, and its shortcut character is ざい.
  • The F key's main component is , and its shortcut character is . The main component's name (earth) correlates to the shortcut character which means earth.
  • The G key's main component is おう, and its shortcut character is いち.

HJKLM zone (vertical)

[edit]
  • The H key's main component is , and its shortcut character is じょう.
  • The J key's main component is , and its shortcut character is .
  • The K key's main component is くち, and its shortcut character is ちゅう.
  • The L key's main component is , and its shortcut character is こく.
  • The M key's main component is やま, and its shortcut character is どう.

XCVBN zone (hook)

[edit]
  • The X key's main component is 纟, and its shortcut character is 经.
  • The C key's main component is また, and its shortcut character is 以.
  • The V key's main component is おんな, and its shortcut character is 发.
  • The B key's main component is , and its shortcut character is りょう.
  • The N key's main component is やめ, and its shortcut character is みん.

Disambiguation strokes

[edit]

Strokes of keyboard is divided into 5 zones

Zone Keys Stroke Shape
1 GFDSA いち Left-right (horizontal)
2 HJKLM Top-bottom (vertical)
3 TREWQ 丿 Falling left
4 YUIOP Falling right
5 NBVCX おつ Hook

Examples

[edit]

Characters with 4 components or fewer (but no need for strokes)

[edit]

Example 1: 请 Consists of three components: y (讠, radical #10), g (おう*, radical 89), e (つき, radical 118) → 请

Characters with more than four components

[edit]

Example 2: 遗

Consists of five components: k (くち), h (丨), g (いち), m (贝), p (辶) → khgp → 遗 (it is not necessary to type m)

Characters with fewer than 4 components (needing strokes)

[edit]

Example 3a: ぶん: First you type the key with the symbol on it, which happens to be 'Y'. Then you type the first component, which is also 'Y' for the てん stroke, then a 'G' for the よこ stroke,and since you now already have three strokes, you type the last stroke, which also happens to be a 捺, arriving at the keycode 'YYGY' for the complete character.

Example 3b: いち: The code for this character is 'GGLL'. As before, you type the key for the character first, which is 'G', then the first stroke of that character, which is also a 'G'. Because this is all necessary information, the L is used as a filler until you reach 4 letters.[2] Note that the 'いち' is also the shortcut character for 'G' (making it one stroke only in practice).

Example 3c: 广: The code for this character is 'YYGT'. At first, you type the key where this character is located, which is a 'Y'. Then, you type a てん stroke, which is also on 'Y'. The next will be the よこ stroke on 'G', and the last will be the 捺, on 'T'.

Characters requiring disambiguation strokes

[edit]

Example 4: ひとし

Consists of three components: t (たけ), f (土), f (すん),

Disambiguation strokes: The last stroke is 丶 and the character is with top-bottom structure (42,u) → ひとし

Poem

[edit]

A poem was made as a mnemonic for the Wubi keyboard, associating few characters with each key. The first character is the corresponding key main component, while the next ones are components or associated characters.

1986 version

[edit]

G11おうつくりあお头戋いち
F12じゅうすん
D13だいいぬさんひつじ古石ふるいし
S14ひのと西にし
A15こうほこくさ头右かまちなな
H21もくじょうとめぼくとらがわ
J22にちはや两竖与ちゅう
K23くち与川よがわまれ
L24田甲たこうかたかまちよん车力
M25やまゆかり贝,しもかまち
T31禾竹いち撇双じんりつはんぶんじょう头共さんいち
R32しろしゅさんきん
E33がつ彡(衫)乃用ころもそこ
W34にんはちとうさい
Q35きんしゃく缺点けってん无尾鱼,いぬつくりとめ义儿いちてんゆう无七
Y41言文げんぶんかた广在よんいちだか头一捺谁じん
U42たてからし两点ろく门疒(やまい
I43みずつくり兴头しょう倒立とうりつ
O44业头,よんてんまい
P45たから盖,摘示ころも
N51やめはん满不おのれひだりかまちおりしかばねこころ
B52みみりょう也框向上こうじょう
V53じょがたなきゅううすやまあさ西にし
C54またともえ马,丢矢矣
X55慈母じぼ无心ゆみかず匕,よう无力

1998 version

[edit]

G11 おうつくりあお头五おっといち
F12 じゅうすんあま不要ふよう忘了かわそこ
D13 だいいぬつちのえ其古せき
S14 ちょう西にしはじめいちよん
A15 こうほこくさ头右かまちなな
H21 目上めうえぼくどめとら
J22 にちはや两竖与ちゅう
K23 くち流川ながれかわ,码元まれ
L24 田甲たこうかたかまちよん车里
M25 やまゆかり贝骨かまちしゅう
T31 禾竹はんぶんそうじんりつ
R32 しろきん气丘また手提てさげ
E33 がつようりょく豸毛ころもうす
W34 にん八登头单人几
Q35 きんゆう鸟儿犭边鱼
Y41 言文げんぶんかたてん谁人
U42 たてからしろくひつじびょう门里
I43 みずぞくさんてん鳖头しょう
O44 业广鹿しかよんてんまい
P45 これたから盖补しめせころも
N51 やめ类左かまちこころしかばね
B52 みみりょう也乃かまちがわ
V53 じょがたなきゅうりょう山西さんせいたおせ
C54 またともえうしにゅう马失蹄
X55 幺母贯头ゆみかず

New-century (3rd-generation) version

[edit]

G11 おうつくりあお头五いちひさげ 
F12 じゅうすん
D13 だい三肆头古石厂
S14 ひのと西にし边要无女
A15 こうほこくさ头右かまちなな
H21 もくとめ头卜とらがわ
J22 にち曰两竖与ちゅう
K23 くちちゅう两川さん个竖
L24 かまちよん车甲单底
M25 やまゆかり贝骨かまちさと
T31 禾竹うしつくり卧人りつ
R32 しろきん气头また手提てさげ
E33 がつふねころもりょくいのこ豸臼
W34 にん八登祭风头几
Q35 きんゆう犭儿つつみ头鱼
Y41 言文げんぶんかた点在てんざいよんいち
U42 たて带两てんびょう门里
I43 みず边一ぞくさんてんしょう
O44 さん态广めーとる
P45 これたから盖补しめせころも
N51 やめ类左かまちこころしかばね
B52 みみりょう也乃齿底
V53 じょがたなきゅうじゅん录无すい
C54 またともえ甬矣马失蹄
X55 幺母绞丝ゆみさん

In media

[edit]

In 2020, the history of Wubi was featured in a Radiolab episode titled "The Wubi Effect".[3]

Notes and references

[edit]
  1. ^ This is the name used in Mac OS X
  2. ^ a b Wicentowski, Joe (1996), Wubizixing for Speakers of English, archived from the original on 10 July 2015
  3. ^ Adler, Simon. "The Wubi Effect: Radiolab". WNYC Studios, 14 August 2020.
[edit]