Cangjie input method | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() Coding of "倉頡輸入法" (i.e. Cangjie method) in traditional Chinese characters | |||||||||||||||||||||||||||
Traditional Chinese | 倉頡輸入法 | ||||||||||||||||||||||||||
Simplified Chinese | 仓颉输入法 | ||||||||||||||||||||||||||
|
The Cangjie input method (Tsang-chieh input method,sometimes called Changjie,Cang Jie,Changjei [1] or Chongkit) is a system for entering Chinese characters into a computer using a standard computer keyboard. In filenames and elsewhere,the name Cangjie is sometimes abbreviated as cj.
The input method was invented in 1976 by Chu Bong-Foo,and named after Cangjie (Tsang-chieh),the mythological inventor of the Chinese writing system,at the suggestion of Chiang Wei-kuo,the former Defense Minister of Taiwan. Chu Bong-Foo released the patent for Cangjie in 1982,as he thought that the method should belong to Chinese cultural heritage. [2] Therefore,Cangjie has become open-source software and is on every computer system that supports traditional Chinese characters,and it has been extended so that Cangjie is compatible with the simplified Chinese character set.
Cangjie is the first Chinese input method to use the QWERTY keyboard. Chu saw that the QWERTY keyboard had become an international standard,and therefore believed that Chinese-language input had to be based on it. [3] Other,earlier methods use large keyboards with 40 to 2400 keys,except the Four-Corner Method,which uses only number keys.
Unlike the Pinyin input method,Cangjie is based on the graphological aspect of the characters:each graphical unit,called a "radical" (not to be confused with Kangxi radicals),is re-parented by a basic character component,24 in total,each mapped to a particular letter key on a standard QWERTY keyboard. An additional "difficult character" function is mapped to the X key. Keys are categorized into four groups,to facilitate learning and memorization. Assigning codes to Chinese characters is done by separating the constituent "radicals" of the characters.
The basic character components in Cangjie are called "radicals" (字根) or "letters" (字母). There are 24 radicals but 26 keys;the 24 radicals (the basic shapes基本字形) are associated with roughly 76 auxiliary shapes (輔助字形),which in many cases are either rotated or transposed versions of components of the basic shapes. For instance,the letter A ( 日 ) can represent either itself,the slightly wider 曰,or a 90°rotation of itself. (For a more complete account of the 76-odd transpositions and rotations than the ones listed below,see the article on Cangjie entry in Chinese Wikibooks.)
The 24 keys are placed in four groups:
Group | Key | Name | Primary meaning |
---|---|---|---|
Philosophical group | A | 日 sun | 日,曰,90°rotated 日 (as in 巴) |
B | 月 moon | the top four strokes of 目;冂;爫;冖;the top and top-left part of 炙,然,and 祭;the top-left four strokes of 豹 and 貓;and the top four strokes of 骨 | |
C | 金 gold | itself,丷,八,and the penultimate two strokes of 四 and 匹 | |
D | 木 wood | itself,the first two strokes of 寸 and 才,the first two strokes of 也 and 皮 | |
E | 水 water | 氵,the last five strokes of 暴 and 康,又 | |
F | 火 fire | the shape 小,灬,the first three strokes in 當 and 光 | |
G | 土 earth | itself,or 士 for soldier | |
Stroke group | H | 竹 bamboo (斜 apostrophe) | The slant and short slant,the Kangxi radical 竹,namely the upper parts in 笨 and 節 |
I | 戈 dagger axe (點 dot) | The dot,the first three strokes in 床 and 庫,and the shape 厶 | |
J | 十 ten (交 cruciform) | The cross shape and the shape 宀 | |
K | 大 big (叉 cross) | The X shape,including 乂 and the first two strokes of 右,as well as 疒 | |
L | 中 centre (緃 vertical) | The vertical stroke,as well as 衤 and the first four strokes of 書 and 盡 | |
M | 一 one (橫 horizontal) | The horizontal stroke,as well as the final stroke of 孑 and 刁,the shape 厂,and the shape 工 | |
N | 弓 bow (鈎 hook) | The crossbow and the hook | |
Body parts group | O | 人 person | The dismemberment;the Kangxi radical 人;the first two strokes of 丘 and 乓;the first two strokes of 知,攻,and 氣;and the final two strokes of 兆 |
P | 心 heart | The Kangxi radical 忄;the second stroke in 心;the last four strokes in 恭,慕,and 忝;the shape 匕;the shape 七;the penultimate two strokes in 代;and the shape 勹 | |
Q | 手 hand | The Kangxi radical 手 | |
R | 口 mouth | The Kangxi radical 口 | |
Character shapes group | S | 尸 corpse | 匚,the first two strokes of 己,the first stroke of 司 and 刀,the third stroke of 成 and 豕,the first four strokes of 長 and 髟 |
T | 廿 twenty | Two vertical strokes connected by a horizontal stroke;the Kangxi radical 艸 when written as 艹 (whether the horizontal stroke is connected or broken) | |
U | 山 mountain | Three-sided enclosure with an opening on the top | |
V | 女 woman | A hook to the right;a V shape;the last three strokes in 艮,衣,and 長 | |
W | 田 field | Itself,as well as any four-sided enclosure with something inside it,including the first two strokes in 母 and 毋 | |
Y | 卜 fortune telling | The 卜 shape and rotated forms,the shape 辶,the first two strokes in 斗 | |
Collision/Difficult key* | X | 重/難 collision/difficult | (1) disambiguation of Cangjie code decomposition collisions,(2) code for a "difficult-to-decompose" part |
Special character key* | Z | (See note) | Auxiliary code used for entering special characters (no meaning on its own). In most cases,this key combined with other keys will produce Chinese punctuations (such as 。,、,「」,『』). Note:Some variants use Z as a collision key instead of X. In those systems,Z has the name "collision" (重) and X has the name "difficult" (難);but the use of Z as a collision key is neither in the original Cangjie nor used in the current mainstream implementations. In other variants,Z may have the name "user-defined" (造) or some other name. |
Wildcard | Shift + 8 (*) | Wildcard | It can replace any key from 2nd to 5th place,and return a list matches the combination. It is very useful for unknown guesses when you are sure about the first and last input. (e.g. Input 竹*竹 will include the following in the list:身,物,秒,第 ) |
The auxiliary shapes of each Cangjie radical have changed slightly across different versions of the Cangjie method. Thus,this is one reason that different versions of the Cangjie method are not completely compatible.
Chu Bong-Foo has provided alternate names for some letters according to their characteristics. For example,H (竹) is also called 斜,which means slant. The names form a rhyme to help learners memorize the letters,each group being in a line (The sounds of final characters are given in parentheses):
The typist must be familiar with several decomposition rules (拆字規則) that define how to analyze a character to arrive at a Cangjie code.
The rules are subject to various principles:
Some forms are always decomposed in the same way,whether the rules say they should be decomposed this way or not. The number of such exceptions is small:
Form | Fixed decomposition | ||
---|---|---|---|
Version 2 | Version 3 | Version 5 | |
門 (door) | 日弓 (AN) | ||
目 (eye) | 月山 (BU) | ||
鬼 (ghost) | 竹戈 (HI) | 竹戈 (HI) or HUI | — |
几 (small table) | 竹山 (HU) | 竹弓 (HN) | |
贏 (win) | — | 卜口月月弓 (YRBBN) | 卜弓月山金 (YNBUC) |
虍 (tiger [radical]) | 卜心 (YP) | ||
亡 on top of 口 (吂) | 卜口 (YR) | 卜女口 (YVR) | |
隹 (fowl) | 人土 (OG) | ||
气 (air [radical]) | 人山 (OU) | 人弓 (ON) | 人一弓 (OMN) |
畿 minus the 田 | 女戈 (VI) | ||
鬥 (compete) | 中弓 (LN) | ||
阝 (mound or city radical) | 弓中 (NL) |
Some forms cannot be decomposed. They are represented by an X,which is the 難 key on a Cangjie keyboard. [4]
Form | Fixed decomposition (v5) |
---|---|
臼 | HX |
與 | HXYC |
興 | HXBC |
盥 | HXBT |
姊 | VLXH |
齊 | YX |
兼 | TXC |
鹿 | IXP |
身 | HXH |
卍 | NX |
黽 | RXU |
龜 | NXU |
廌 | IXF |
慶 | IXE |
淵 | ELXL |
肅 | LX |
Initially,the Cangjie input method was not intended to produce a character in any character set. Instead,it was part of an integrated system consisting of the Cangjie input rules and a Cangjie controller board. This controller board contains character generator firmware,which dynamically generates Chinese characters from Cangjie codes when characters are output,using the hi-res graphics mode of the Apple II computer. In the preface of the Cangjie user's manual,Chu Bong-Foo wrote in 1982:
[in translation]
In terms of output: The output and input, in fact, [form] an integrated whole; there is no reason that [they should be] dogmatically separated into two different facilities.… This is in fact necessary.…
In this early system, when the user types "yk", for example, to get the Chinese character 文, the Cangjie codes do not get converted to any character encoding and the actual string "yk" is stored. The Cangjie code for each character (a string of 1 to 5 lowercase letters plus a space) was the encoding of that particular character.
A particular "feature" of this early system is that, if one sends random lowercase words to it, the character generator will attempt to construct Chinese characters according to the Cangjie decomposition rules, sometimes causing strange, unknown characters to appear. This unintended feature, "automatic generation of characters", is described in the manual and is responsible for producing more than 10,000 of the 15,000 characters that the system can handle. The name Cangjie, evocative of the creation of new characters, was indeed apt for this early version of Cangjie.
The presence of the integrated character generator also explains the historical necessity for the existence of the "X" key, which is used for the disambiguation of decomposition collisions: because characters are "chosen" when the codes are "output", every character that can be displayed must in fact have a unique Cangjie decomposition. It would not make sense—nor would it be practical—for the system to provide a choice of candidate characters when a random text file is displayed, as the user would not know which of the candidates is correct.
Cangjie was designed to be an easy-to-use system to help promote the use of Chinese computing. However, many users find Cangjie is difficult to learn and use, with many difficulties caused by poor instruction.[ citation needed ]
With enough practice, users can overcome the above problems. Typical touch-typists can type Chinese at 25 characters per minute (cpm), or better, using Cangjie, despite having difficulty remembering the list of auxiliary shapes or the decomposition rules. Experienced Cangjie typists can reportedly attain a typing speed from 60 cpm to over 200 cpm.
according to Mr. Chen Minzheng, his teaching experience at Longtian Elementary School in Taitung in 1990, the average typing speed of children was 90 words per minute, and some children even reached more than 130 words per minute. [5]
The decomposition of a character depends on a predefined set of "standard shapes" (標準字形). However, as many variations of Cangjie exist in different countries, the standard shape of a certain character in Cangjie is not always the one the user has learnt before. Learning Cangjie then entails learning not only Cangjie itself but also unfamiliar standard shapes for some characters. The Cangjie input method editor (IME) does not handle mistakes in decomposition except by informing the user (usually by beeping) that there is a mistake. However, Cangjie is originally designed to assign different codes to different variants of a character. For example, in the Cangjie provided on Windows, the code for 產 is YHHQM, which corresponds not to the shape of this character but to another variant, 産. This is a problem resulting from the implementation of Cangjie on Windows. In the original Cangjie, 產 should be YKMHM (the first part is 文) while 産 is YHHQM (the first part is 产).
Punctuation marks are not geometrically decomposed, but rather given predefined codes that begin with ZX followed by a string of three letters related to the ordering of the characters in the Big5 code. (This set of codes was added to Cangjie on the traditional Chinese version of Windows 95. On Windows 3.1, Cangjie did not have a set of codes for punctuation marks.) Typing punctuation marks in Cangjie thus becomes a frustrating exercise involving either memorization or pick-and-peck. However, this is solved on modern systems through accessing a virtual keyboard on screen (On Windows, this is activated by pressing Ctrl + Alt + comma key).
Commonly-made errors include not considered as alternative codes. For example, if one does not decompose 方 from top to bottom into YHS, but instead type YSH according to stroke order, Cangjie does not return the character 方 as a choice.
Since Cangjie requires all 26 keys of the QWERTY keyboard, it cannot be used to input Chinese characters on feature phones, which have only a 12-key keypad. Alternative input methods, such as Zhuyin, 5-stroke (or 9-stroke by Motorola), and the Q9 input method, are used instead.
The Cangjie input method is commonly said to have gone through five generations (commonly referred to as "versions" in English), each of which is slightly incompatible with the others. Currently, version 3 (第三代倉頡) is the most common and supported natively by Microsoft Windows. Version 5 (第五代倉頡), supported by the Free Cangjie IME and previously the only Cangjie supported by SCIM, represents a significant minority method and is supported by iOS.
The early Cangjie system supported by the Zero One card on the Apple II was Version 2; Version 1 was never released.
The Cangjie input method supported on the classic Mac OS resembles both Version 3 and Version 5.
Version 5, like the original Cangjie input method, was created directly by Chu. He had hoped that the release of Version 5, originally slated to be Version 6, would bring an end to the "more than ten versions of Cangjie input method" (slightly incompatible versions created by different vendors).
Version 6 has not yet been released to the public, but is being used to create a database which can accurately store every historical Chinese text.
Most modern implementations of Cangjie input method editors (IME) provide various convenient features:
Besides the wildcard key, many of these features are convenient for casual users but unsuitable for touch-typists because they make the Cangjie IME unpredictable.
There have also been various attempts to "simplify" Cangjie one way or another:
Many researchers have discussed ways to decompose Chinese characters into their major components, and tried to build applications based on the decomposition system. The idea can be referred to as the study of the Genes of Chinese Characters . Cangjie codes offer a basis for such an endeavour. Academia Sinica in Taiwan [6] and Jiaotong University in Shanghai [7] have similar projects as well.
One direct application of the use of decomposed characters is the possibility of computing the similarities between different Chinese characters. [8] The Cangjie input method offers a good starting point for this kind of application. By relaxing the limit of five codes for each Chinese character and adopting more detailed Cangjie codes, visually similar characters can be found by computation. Integrating this with pronunciation information enables computer-assisted learning of Chinese characters. [9]
![]() | This article may require cleanup to meet Wikipedia's quality standards. The specific problem is: these footnotes should be linked to the places in the text above they refer to, e.g. with Template:efn.(May 2022) |
[Translation]
This is no problem; there are also auxiliary forms to complement the deficiencies of the radicals. The auxiliary forms are variations of the shape of the radicals, [and therefore] easy to remember.
[Translation]
The dictionary appended [to this book] is based on the 4800 standard, commonly used characters as proclaimed by the Ministry of Education. Adding to this the characters that are automatically generated, the number of characters is about 15,000 (using the Kangxi dictionary as a basis).
Chinese input methods for computers are methods that allow a computer user to input Chinese characters. Most, if not all, Chinese input methods fall into one of two categories: phonetic readings or root shapes. Methods under the phonetic category usually are easier to learn but are less efficient, thus resulting in slower typing speeds because they typically require users to choose from a list of phonetically similar characters for input, whereas methods under the root shape category allow very precise and speedy input but have a steep learning curve because they often require a thorough understanding of a character's strokes and composition.
The Wubizixing input method, often abbreviated to simply Wubi or Wubi Xing, 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 Four-Corner Method or Four-Corner System is a character-input method used for encoding Chinese characters into either a computer or a manual typewriter, using four or five numerical digits per character.
An input method is an operating system component or program that enables users to generate characters not natively available on their input devices by using sequences of characters that are available to them. Using an input method is usually necessary for languages that have more graphemes than there are keys on the keyboard.
Cangjie is a legendary ancient Chinese figure said to have been an official historian of the Yellow Emperor and the inventor of Chinese characters. Legend has it that he had four eyes, and that when he invented the characters, the deities and ghosts cried and the sky rained millet. He is considered a legendary rather than historical figure, or at least not considered to be the sole inventor of Chinese characters. Cangjie was the eponym for the Cangjiepian proto-dictionary, the Cangjie method of inputting characters into a computer, and a Martian rock visited by the Mars rover Spirit, and named by the rover team.
Boshiamy is a Chinese character input method editor (IME). It was invented by Liu Chung-tz'u (劉重次).
Simplified Cangjie, known as Quick or Sucheng is a stroke based keyboard input method based on the Cangjie IME (倉頡輸入法) but simplified with select lists. Unlike full Cangjie, the user enters only the first and last keystrokes used in the Cangjie system, and then chooses the desired character from a list of candidate Chinese characters that pops up. This method is popular in Taiwan and Hong Kong, the latter in particular.
Dayi is a system for entering Chinese characters on a standard QWERTY keyboard using a set of 46 character components. A character is built by combining up to four of the 46 characters, using a system similar to that of Cangjie, but is decomposed in stroke order instead of in geometric shape in Cangjie.
Chu Bong-Foo is the inventor of the Tsang-chieh (Cangjie), a widely used Chinese input method. His renowned input method, created in 1976 and given to the public domain in 1982, has sped up the computerization of Chinese society. Chu spent his childhood in Taiwan, and has worked in Brazil, United States, Taiwan, Shenzhen and Macau.
The pinyin method refers to a family of input methods based on the pinyin method of romanization.
Japanese input methods are used to input Japanese characters on a computer.
OpenVanilla (OV) is a free, open-source text-entry and processing architecture, and includes a collection of popular input methods and text processing filters. It serves as a bridge between input methods and the operating system. It was originally designed to offer a better text-entry experience and alternative input methods not found in Apple's built-in set or suit better the needs for Windows "switchers." However, the developers have since worked on a Microsoft Windows port and a bridge between OV and SCIM on the X Window System. The macOS version is compatible with Mac OS X 10.3 (Panther) and Mac OS X 10.4 (Tiger). OV's input methods can also be used through SCIM on Linux or FreeBSD. An experimental Win32 Unicode version is also available.
The Zhengma Input Method is a Chinese language input method. The primary goal of Zhengma design is compatibility with different types of characters, scalability and ease of use, especially for people who are experienced with how ideographs are formed. For these reasons this input method is used more by scholars of the Chinese language or people who need to use both traditional and simplified Chinese. This input method is one of two stroke-based input method that are included with Microsoft Windows.
Language input keys, which are usually found on Japanese and Korean keyboards, are keys designed to translate letters using an input method editor (IME). On non-Japanese or Korean keyboard layouts using an IME, these functions can usually be reproduced via hotkeys, though not always directly corresponding to the behavior of these keys.
Wang Yongmin is a Chinese programmer, who developed Wubi, a very fast input method for entering Chinese characters using a standard Latin keyboard. Currently he is the president of Wangma, a Beijing-based software development company.
Menksoft is an IT company in Inner Mongolia, who developed Menksoft Mongolian IME, the most widely used Mongolian language input method editor (IME) in Inner Mongolia.
The Intelligent Input Bus is an input method (IM) framework for multilingual input in Unix-like operating-systems. The name "Bus" comes from its bus-like architecture.
The Vietnamese language is written with a Latin script with diacritics which requires several accommodations when typing on phone or computers. Software-based systems are a form of writing Vietnamese on phones or computers with software that can be installed on the device or from third-party software such as UniKey. Telex is the oldest input method devised to encode the Vietnamese language with its tones. Other input methods may also include VNI and VIQR. VNI input method is not to be confused with VNI code page.
The Cangjiepian, also known as the Three Chapters, was a c. 220 BCE Chinese primer and a prototype for Chinese dictionaries. Li Si, Chancellor of the Qin dynasty, compiled it for the purpose of reforming written Chinese into the new orthographic standard Small Seal Script. Beginning in the Han dynasty, many scholars and lexicographers expanded and annotated the Cangjiepian. By the end of the Tang dynasty (618–907), it had become a lost work, but in 1977, archeologists discovered a cache of texts written on bamboo strips, including fragments of the Cangjiepian.
Chinese character order, or Chinese character indexing, Chinese character collation and Chinese character sorting, is the way in which a Chinese character set is sorted into a sequence for the convenience of information retrieval. It may also refer to the sequence.