0
|
1 ©³©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©·
|
|
2 ©³©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©·
|
|
3 ©§ £Ã£è£á£ð£ô£å£ò £± £É£Î£Ô£Ò£Ï£Ä£Õ£Ã£Ô£É£Ï£Î ©§
|
|
4 ©»©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¿
|
|
5 ©»©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¿
|
|
6
|
|
7
|
|
8 ©³©¥©¥©¥©¥©¥©¥©¥©¥©·
|
|
9 ©§ 1.1 OVERVIEW ©§
|
|
10 ©»©¥©¥©¥©¥©¥©¥©¥©¥©¿
|
|
11
|
|
12 This manual introduces the Chinese Input System, cWnn, which runs on Unix
|
|
13 workstations. cWnn provides a wide range of input methods, satisfying the needs of
|
|
14 Chinese users all over the world, including P.R.China and Taiwan. Besides that, it is
|
|
15 capable of converting an arbitrary sequence of Pinyin/Zhuyin into the expected Hanzi.
|
|
16
|
|
17 Currently, most of the Chinese input systems are developed on personal computers.
|
|
18 In terms of all aspects, personal computers are not as powerful as workstations,
|
|
19 especially in the network capabilities. With the advance in technology, Unix has begun
|
|
20 to popularize as it supports multi-windows, multi-users as well as multi-environments.
|
|
21 Based on these features, cWnn is developed to cater for various input methods and other
|
|
22 useful facilities.
|
|
23
|
|
24 The input methods in cWnn are divided into two categories:
|
|
25
|
|
26 1. Phonetic
|
|
27 ©¥©¥©¥©¥©¥©¥
|
|
28 This is a method of inputing Chinese characters using their pronunciations. The common
|
|
29 phonetic symbols for Chinese are Pinyin and Zhuyin, with Pinyin being used commonly in
|
|
30 P.R China and Singapore. The Zhuyin phonetic symbols were used before Pinyin was
|
|
31 introduced. It is now currently used in Taiwan and Hong Kong.
|
|
32
|
|
33 Currently, some of the Chinese input systems are based on monosyllabic word, that is,
|
|
34 only a single Chinese character is input at a time. There are also some systems using
|
|
35 Chinese word input. cWnn, being different, is able to convert any arbitrary length of
|
|
36 Pinyin/Zhuyin sequence to Chinese characters at one time. The system provides a good
|
|
37 environment for user input. It performs an automatic check on all inputs, making sure
|
|
38 that they are legal. Besides, cWnn caters for error tolerance in the four tones, and
|
|
39 has standardized Pinyin and Zhuyin, together with the four tones. As such, cWnn
|
|
40 provides an ideal phonetic input environment for the users.
|
|
41
|
|
42
|
|
43
|
|
44
|
|
45
|
|
46
|
|
47
|
|
48
|
|
49
|
|
50 - 1-1 -
|
|
51 2. Radical
|
|
52 ©¥©¥©¥©¥©¥
|
|
53 There are several radical methods for Chinese input, such as Wubi and Cangjie etc. In
|
|
54 these methods, a Chinese character is input by breaking up the character into its
|
|
55 components, which are subsequently entered one by one.
|
|
56
|
|
57 Currently, a few hundred of such input methods have been developed. The default radical
|
|
58 input methods in cWnn are Wubi, Cangjie and Qianma. However, the system is designed to
|
|
59 allow any radical input method to be setup easily.
|
|
60
|
|
61
|
|
62 With the strong network capabilities of Unix, together with the multi-user and
|
|
63 multi-window features, cWnn is able to achieve sharing of resources and at the same time,
|
|
64 supports multi-environments.
|
|
65
|
|
66
|
|
67
|
|
68
|
|
69
|
|
70
|
|
71
|
|
72
|
|
73
|
|
74
|
|
75
|
|
76
|
|
77
|
|
78
|
|
79
|
|
80
|
|
81
|
|
82
|
|
83
|
|
84
|
|
85
|
|
86
|
|
87
|
|
88
|
|
89
|
|
90
|
|
91
|
|
92
|
|
93
|
|
94
|
|
95
|
|
96
|
|
97
|
|
98
|
|
99
|
|
100 - 1-2 -
|
|
101 ©³©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©·
|
|
102 ©§ 1.2 NOTATIONS USED IN THIS MANUAL ©§
|
|
103 ©»©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¿
|
|
104
|
|
105 Please take note that in this manual, some notations are being used. Their
|
|
106 respective meanings are as follows:
|
|
107
|
|
108 * <CR> ©¤ This means press the return key once
|
|
109 * \ ©¤ This refers to the backslash in ASCII
|
|
110 * ^ ©¤ This refers to the control key. For example, ^F means holding down
|
|
111 the F key together with the control key, and ^\ means holding down
|
|
112 the control key together with the backslash key
|
|
113 * % ©¤ Prompt for C Shell
|
|
114 * # ©¤ Prompt for Bourne Shell
|
|
115
|
|
116
|
|
117
|
|
118
|
|
119
|
|
120
|
|
121
|
|
122
|
|
123
|
|
124
|
|
125
|
|
126
|
|
127
|
|
128
|
|
129
|
|
130
|
|
131
|
|
132
|
|
133
|
|
134
|
|
135
|
|
136
|
|
137
|
|
138
|
|
139
|
|
140
|
|
141
|
|
142
|
|
143
|
|
144
|
|
145
|
|
146
|
|
147
|
|
148
|
|
149
|
|
150 - 1-3 -
|
|
151 ©³©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©·
|
|
152 ©§ 1.3 CWNN SYSTEM STRUCTURE ©§
|
|
153 ©»©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¿
|
|
154
|
|
155 cWnn adopts the Client-Server Model of Unix operating system. The model is
|
|
156 made up of a server and several clients. One server can serve many clients at one
|
|
157 time. The clients and server processes communicate through a well-defined protocol, but
|
|
158 are completely independent. As a result, the clients and server can be on different
|
|
159 machines communicating across the network, or on the same machine.
|
|
160 The clients are the front-end processors of the system and they interact with
|
|
161 the users. The clients execute on the Unix shell and request for services from the
|
|
162 server via the socket.
|
|
163 On the other hand, the server will run as a background process. It receives
|
|
164 service requests from the clients, performs the request, and passes the results back to
|
|
165 the clients via the socket.
|
|
166
|
|
167 The server manages all the resources, such as dictionaries and usage frequency
|
|
168 files, and maintains different input environments for each of its clients. The input
|
|
169 environment is activated by executing the client "cuum". To the user, each client has
|
|
170 a different service environment which supports different input methods. Note that
|
|
171 there may be more than one server in the network, and each client may in turn obtains
|
|
172 services from different servers.
|
|
173 Hence, cWnn is a multi-environment system. The structure of cWnn is shown in
|
|
174 the following diagram.
|
|
175
|
|
176 client server
|
|
177 ©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´ ©°©¤©¤©¤©¤©¤©´
|
|
178 ©¦ cuum ©¦ ©¦ cserver ©¦
|
|
179 ©¦ front-end processor©À©¤©Ð©¤©¤©¤©¤©¤©¤©È ©¦
|
|
180 ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼ ©¦ ©¸©¤©Ð©¤©¤©¤©¼
|
|
181 ©¦ ©¦
|
|
182 ©¦ ©¦
|
|
183 client ©¦ ©¦
|
|
184 ©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´ ©¦ ©°©¤©Ø©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
|
|
185 ©¦ cuum ©¦ ©¦ ©¦ System Resources : Dictionaries, ©¦
|
|
186 ©¦ front-end processor©À©¤©È ©¦ Frequency files ©¦
|
|
187 ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼ ©¦ ©¦ and Grammar ©¦
|
|
188 : ©¦ ©¦ files ©¦
|
|
189 : ©¦ ©¦ ©¦
|
|
190 client : ©¦ ©¦ Environment Resources : A env, ©¦
|
|
191 ©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´ ©¦ ©¦ B env ... ©¦
|
|
192 ©¦ cuum ©À©¤©¼ ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
|
|
193 ©¦ front-end processor©¦
|
|
194 ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
|
|
195
|
|
196 Figure 1.1 : cWnn System Structure
|
|
197 ©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤
|
|
198
|
|
199
|
|
200 - 1-4 -
|
|
201 ©³©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©·
|
|
202 ©§ 1.4 FEATURES ON THE SYSTEM STRUCTURE ©§
|
|
203 ©»©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¿
|
|
204
|
|
205 One main feature of cWnn is its system independency. Every environment will
|
|
206 have individual environment files according to the needs of the users. Each user may
|
|
207 specify his own environment setup either during or after system installation. The
|
|
208 flexible environment setup includes the following:
|
|
209
|
|
210 1. Input Automaton Setup
|
|
211 ©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥
|
|
212 Input automaton is the front-end processor. It allows user to specify his own input
|
|
213 environment according to his needs. Through this setup, Pinyin input environment and
|
|
214 Zhuyin input environment may be specified. Moreover, interfaces like the keyboard
|
|
215 setup and function keys can be set. For more details, refer to Chapter 7.
|
|
216
|
|
217 2. Environment Setup
|
|
218 ©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥
|
|
219 The service environment of the user is provided by the server. It includes the setup
|
|
220 of conversion methods, grammer attributes and dictionaries, as well as the setup of
|
|
221 conversion parameters etc. These can be specified before the startup of the front-end
|
|
222 processor. Refer to Chapter 5 for detailed descriptions. Once the front-end is started
|
|
223 up, the environment may also be set dynamically via keyboard. Refer to Chapter 5 for
|
|
224 detailed descriptions.
|
|
225
|
|
226 3. Creation of Dictionaries and Grammer Files
|
|
227 ©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥
|
|
228 Dictionaries and grammar files may be created using the utilities provided in the system.
|
|
229 Users are able to create their own dictionaries to suit their needs. For example, a
|
|
230 computer professional may have his own dictionary which consists of all the computer
|
|
231 terms needed. This dictionary may be added into the system, hence enriching the system
|
|
232 resources.
|
|
233
|
|
234 4. Encoded Input Method Setup
|
|
235 ©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥
|
|
236 Besides phonetic input methods, cWnn supports several encoded input methods. In cWnn,
|
|
237 the default encoded input methods are Wubi, Qianma and Cangjie. The system is designed
|
|
238 to allow any encoded input method to be installed.
|
|
239
|
|
240 5. Keyboard Setup
|
|
241 ©¥©¥©¥©¥©¥©¥©¥©¥©¥
|
|
242 All the operations in cWnn's input environment can be carried out by commands. These
|
|
243 commands may be set via the keyboard. Different users have different needs for keyboard
|
|
244 function. Hence, by having different keyboard setup, users are able to have different
|
|
245 user interfaces. For details, refer to Chapter 5.
|
|
246
|
|
247
|
|
248
|
|
249
|
|
250 - 1-5 -
|
|
251 NOTE: Please take note that the keys used in this manual (eg. PF1, PF2, ^\, ^F ..etc)
|
|
252 are only the keyboard setup in cWnn system. They may be changed according to
|
|
253 the user. Hence, all occurrence of these notations are merely the default setup
|
|
254 in cWnn system.
|
|
255
|
|
256
|
|
257
|
|
258
|
|
259
|
|
260
|
|
261
|
|
262
|
|
263
|
|
264
|
|
265
|
|
266
|
|
267
|
|
268
|
|
269
|
|
270
|
|
271
|
|
272
|
|
273
|
|
274
|
|
275
|
|
276
|
|
277
|
|
278
|
|
279
|
|
280
|
|
281
|
|
282
|
|
283
|
|
284
|
|
285
|
|
286
|
|
287
|
|
288
|
|
289
|
|
290
|
|
291
|
|
292
|
|
293
|
|
294
|
|
295
|
|
296
|
|
297
|
|
298
|
|
299
|
|
300 - 1-6 -
|
|
301 ©³©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©·
|
|
302 ©§ 1.5 HARDWARE AND SOFTWARE CONFIGURATIONS ©§
|
|
303 ©»©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¥©¿
|
|
304
|
|
305 cWnn is capable of displaying Chinese characters based on GB-2312 and CNS
|
|
306 internal codes. It is developed on the Omron LUNA Unix Workstation, and is portable
|
|
307 to other Unix platforms.
|
|
308
|
|
309 Current Machines/OS that Support cWnn
|
|
310 ©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ð©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ð©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
|
|
311 ©¦ Hardware ©¦ Operating System ©¦ Window System ©¦
|
|
312 ©À©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©à©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©à©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©È
|
|
313 ©¦ LUNA (Omron) ©¦ UniOS-U, UniOS-B ©¦ X, GMW ©¦
|
|
314 ©¦ ©¦ ©¦ ©¦
|
|
315 ©¦ LUNA II (Omron) ©¦ UniOS-U, Mach ©¦ X, GMW ©¦
|
|
316 ©¦ ©¦ ©¦ ©¦
|
|
317 ©¦ LUNA 88K (Omron) ©¦ Mach ©¦ X ©¦
|
|
318 ©¦ ©¦ ©¦ ©¦
|
|
319 ©¦ Sun-3 ©¦ SunOS 4.1 ©¦ SunView, X ©¦
|
|
320 ©¦ ©¦ ©¦ ©¦
|
|
321 ©¦ Sun-4 ©¦ SunOS 4.1 ©¦ SunView, X ©¦
|
|
322 ©¦ ©¦ ©¦ ©¦
|
|
323 ©¦ SPARCstation ©¦ SunOS 4.1 ©¦ SunView, X ©¦
|
|
324 ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ø©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ø©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
|
|
325
|
|
326
|
|
327
|
|
328
|
|
329
|
|
330
|
|
331
|
|
332
|
|
333
|
|
334
|
|
335
|
|
336
|
|
337
|
|
338
|
|
339
|
|
340
|
|
341
|
|
342
|
|
343
|
|
344
|
|
345
|
|
346
|
|
347
|
|
348
|
|
349
|
|
350 - 1-7 -
|