1
From: Osamu Aoki <osamu@debian.org>
2
Description: - -> \- changes
10
-KAKASI - Kanji kana simple inverter (between Kanji, both Kana and Romaji)
11
+KAKASI \- Kanji kana simple inverter (between Kanji, both Kana and Romaji)
13
.B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
16
example the "bunchu" Kanji is converted into Hiragana.
19
-kakasi -JH < document
20
+kakasi \-JH < document
22
-Since version 2.3.0 text with spaces in-between words has been supported.
23
-In the following example the output has spaces in-between each word.
24
+Since version 2.3.0 text with spaces in\-between words has been supported.
25
+In the following example the output has spaces in\-between each word.
28
+kakasi \-w < document
30
Since version 2.3.5 level conversion mode has been supported.
31
In the following example, simple Kanjis are left them unconverted,
32
and difficult Kanjis are translated into Hiragana.
34
-kakasi -l4 < document
35
+kakasi \-l4 < document
38
It is possible to convert letters to alphabetical characters. Also
42
JIS x0208 characters included in section 1,2,3,6,7, and 8.
43
-(Note that section 9-15 are undefined in JIS x0208.)
44
+(Note that section 9\-15 are undefined in JIS x0208.)
46
Translation between the following character sets are available.
50
1. All kanji characters are converted to Hiragana.
55
2. All JIS x0208 characters are converted to JIS X 0201.
58
- kakasi -Hk -Kk -Jk -Ea
59
+ kakasi \-Hk \-Kk \-Jk \-Ea
61
3. All characters are converted to JIS X 0208.
63
- kakasi -aE -jE -gE -kK
64
+ kakasi \-aE \-jE \-gE \-kK
66
4. All characters are converted to ascii and words are separated.
68
- kakasi -Ha -Ka -Ja -Ea -ka
69
+ kakasi \-Ha \-Ka \-Ja \-Ea \-ka
71
5. Exchange between Katakana and Hiragana characters.
77
.SH CONVERSION DESIGNATED CHARACTER SET
79
Some character sets are categorized by kakasi and indicated by
80
following mnemonics: a, j, g, k, E, H, K, J.
82
- a --- ASCII characters
83
- j --- JIS ROMAN ( nearly equal to ASCII, "~" and "\" are
84
+ a \-\-\- ASCII characters
85
+ j \-\-\- JIS ROMAN ( nearly equal to ASCII, "~" and "\" are
86
different ) defined by JIS x0201
87
- g --- DEC Graphic Characters
88
- k --- KATAKANA defined by JIS x0201
89
+ g \-\-\- DEC Graphic Characters
90
+ k \-\-\- KATAKANA defined by JIS x0201
92
E, H, K, and J are included in JIS x0208 character set.
94
- J --- KANJI characters of JIS x0208.
95
- H --- HIRAGANA characters of JIS x0208.
96
- K --- KATAKANA characters of JIS x0208.
97
- E --- Rest of above characters of JIS x0208 which includes
98
+ J \-\-\- KANJI characters of JIS x0208.
99
+ H \-\-\- HIRAGANA characters of JIS x0208.
100
+ K \-\-\- KATAKANA characters of JIS x0208.
101
+ E \-\-\- Rest of above characters of JIS x0208 which includes
102
alphabets, numbers, symbols and so on.
104
--(from)(to) means conversion from character set (from) to (to).
105
-For example, -JK option causes KANJI characters are converted
106
+\-(from)(to) means conversion from character set (from) to (to).
107
+For example, \-JK option causes KANJI characters are converted
108
to HIRAGANA. Combinations in the following table are available.
109
-(You must not remember it, because the -h shows same information)
110
+(You must not remember it, because the \-h shows same information)
112
- to\from| a j k E H K J g
113
- -------+--------------------------------------------
114
- a | - o o1 o o1 o1 o12 o
115
- j | o - o1 o o1 o1 o12 o
122
- 1 -- converted to Romaji.
123
- 2 -- Kanji -> Kana conversion.
124
+ to\\from| a j k E H K J g
125
+ \-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
126
+ a | \- o o1 o o1 o1 o12 o
127
+ j | o \- o1 o o1 o1 o12 o
134
+ 1 \-\- converted to Romaji.
135
+ 2 \-\- Kanji \-> Kana conversion.
137
.SH KANJI CODING CONVERSION
138
Unfortunately, several coding systems are used in Japan and JIS
139
@@ -193,41 +193,41 @@
140
included or you wish to change kanji coding system, you may
141
use the next options.
146
+ \-o : output coding
148
- jis -- Widely used on the internet. (Ex: fj, jp, .. newsgroups)
149
- Derived from ISO-2022 coding manner.
150
- newjis: JISx0208 (1983) invoked by ESC-$-B.
151
- oldjis: JISx0208 (1978) invoked by ESC-$-@.
152
- euc,dec -- Often used in UNIX like computers. JISx0208 is
153
+ jis \-\- Widely used on the internet. (Ex: fj, jp, .. newsgroups)
154
+ Derived from ISO\-2022 coding manner.
155
+ newjis: JISx0208 (1983) invoked by ESC\-$\-B.
156
+ oldjis: JISx0208 (1978) invoked by ESC\-$\-@.
157
+ euc,dec \-\- Often used in UNIX like computers. JISx0208 is
158
assigned to GR ( MSB is 1 ). The major difference between
159
euc and dec is assignment of JISx0201 KATAKANA and
160
the DEC graphic character.
161
- sjis -- Defined by Microsoft Corp. Widely used on the personal
162
+ sjis \-\- Defined by Microsoft Corp. Widely used on the personal
163
computers ( MSDOS, Mac, .. )
165
.SH ROMAJI CONVERSION
166
-Kanji kana conversion options. Used with -J? option.
167
+Kanji kana conversion options. Used with \-J? option.
168
There are 2 types of Romaji writing. The first is the Kunrei
169
method defined by Japanese government, and the second is the
170
Hepburn method. I think Hepburn method sounds naturally to
173
- -rhepburn : Hepburn Method (default)
174
- -rkunrei : Kunrei Method
175
+ \-rhepburn : Hepburn Method (default)
176
+ \-rkunrei : Kunrei Method
180
- -p: List all possible readings. If there exist two or more
181
+ \-p: List all possible readings. If there exist two or more
182
possible readings, KAKASI shows them in braces {aaa,bbb}.
183
- -s: Insert a separate character between words.
184
- -f: Furigana mode. Shows the original kanji word with reading.
185
- -c: Skip characters within word. ( default TAB CR LF BLANK )
186
- -C: Capitalize Romaji word (with -Ja or -Jj option)
187
- -U: Upcase romaji word (with -Ja or -Jj option)
189
- -w: wakatigaki mode. 'wakatigaki' is word segmentation for
190
+ \-s: Insert a separate character between words.
191
+ \-f: Furigana mode. Shows the original kanji word with reading.
192
+ \-c: Skip characters within word. ( default TAB CR LF BLANK )
193
+ \-C: Capitalize Romaji word (with \-Ja or \-Jj option)
194
+ \-U: Upcase romaji word (with \-Ja or \-Jj option)
195
+ \-u: Call fflush().
196
+ \-w: wakatigaki mode. 'wakatigaki' is word segmentation for
200
@@ -246,10 +246,10 @@
201
.SH ENVIRONMENT VARIABLES
202
The behavior is affected by the following environment variables.
204
-Specifies a path of kanwadict (full-path including filename).
205
+Specifies a path of kanwadict (full\-path including filename).
206
Default value is $prefix/share/kakasi/kanwadict.
208
-Specifies a path of itaijidict (full-path including filename).
209
+Specifies a path of itaijidict (full\-path including filename).
210
Default value is $prefix/share/kakasi/itaijidict.
212
Hironobu Takahasi <takahasi@tiny.or.jp>
215
Return status except 0 when there is any trouble.
217
-Report bugs to KAKASI Project <kakasi-dev@namazu.org>.
218
-Please DO NOT CONTACT to the originator (Takahasi-san).
219
+Report bugs to KAKASI Project <kakasi\-dev@namazu.org>.
220
+Please DO NOT CONTACT to the originator (Takahasi\-san).
221
.SH NOTE ABOUT ENGLISH MANUAL
222
The content of English manual is not exactly same as that of Japanese manual.
224
--- a/man/kakasi.1.ja
225
+++ b/man/kakasi.1.ja
230
-KAKASI - Kanji kana simple inverter (���������ɤ߾夲)
231
+KAKASI \- Kanji kana simple inverter (���������ɤ߾夲)
233
.B kakasi [options] [jisyo1 [jisyo2 [jisyo1,,]]]
237
�㤨�м�����Ǥ�ʸ��δ������Ҥ餬�ʤ��Ѵ�����ޤ���
239
-kakasi -JH < document
240
+kakasi \-JH < document
242
�С������ 2.3.0 ����ϡ�ʬ������ǽ���ɲä���ޤ�����
243
�㤨�м�����Ǥϡ����ܸ�ʸ��ʬ��������ƽ��Ϥ���ޤ���
245
-kakasi -w < document
246
+kakasi \-w < document
248
�С������ 2.3.5 ����ϡ���ǯ�̤Ҥ餬���Ѵ���ǽ���ɲä���ޤ�����
249
�㤨�м�����Ǥϡ�����4ǯ���ޤǤ˽��ä������ϴ����Τޤ�ɽ������
250
����ʳ����������ϤҤ餬�ʤ˳����ƽ��Ϥ���ޤ���
252
-kakasi -l4 < document
253
+kakasi \-l4 < document
256
��ʸ������������Ѵ������ꡢ
257
@@ -103,21 +103,21 @@
258
����ʸ�����åȴ֤��Ѵ�������Ǥ��ޤ���
267
--> ASCII, JISROMAN, ����
268
+\-> ASCII, JISROMAN, ����
269
.Ip "JISx0201��������" 13
270
--> ASCII, JISROMAN, ����, �Ҥ餬��
271
+\-> ASCII, JISROMAN, ����, �Ҥ餬��
276
--> ASCII, JISROMAN, JISx0201�Τ�������, �Ҥ餬��
277
+\-> ASCII, JISROMAN, JISx0201�Τ�������, �Ҥ餬��
279
--> ASCII, JISROMAN, JISx0201��������, ����
280
+\-> ASCII, JISROMAN, JISx0201��������, ����
282
--> ASCII, JISROMAN, JISx0201�Τ�������, ����, �Ҥ餬��
283
+\-> ASCII, JISROMAN, JISx0201�Τ�������, ����, �Ҥ餬��
285
����������Ѵ��Ǥ��ɤ߾夲�ˤ�ä��Ѵ����ޤ���
286
JISx0201�������ʡ��������ʡ��Ҥ餬�ʡ��������� ASCII �� JISROMAN �ؤ�
295
�����ꤵ���ȥ��������Ѵ����ޤ���
296
@@ -178,24 +178,24 @@
303
2. ���٤Ƥ� JISx0208 ��������줿ʸ���������롣
306
- kakasi -Hk -Kk -Jk -Ea
307
+ kakasi \-Hk \-Kk \-Jk \-Ea
309
3. ���٤Ƥ�ʸ���� JISx0208 ��ʸ���ˤ��������롣
311
- kakasi -aE -jE -gE -kK
312
+ kakasi \-aE \-jE \-gE \-kK
316
- kakasi -Ha -Ka -Ja -Ea -ka
317
+ kakasi \-Ha \-Ka \-Ja \-Ea \-ka
326
@@ -204,19 +204,19 @@
328
JIS, OLDJIS, EUC, DEC, SJIS
330
-.Ip "-i{jis, oldjis, euc, dec, sjis}"
331
+.Ip "\-i{jis, oldjis, euc, dec, sjis}"
332
����¦�δ��������ɤ���ꤷ�ޤ���
333
�⤷����ꤵ��ʤ����ˤ����Ϥ���Ƚ�Ǥ��褦�Ȥ��ޤ���
335
�����Ϥᤳ�������Ū�˽���������ˡ���Ȥ�ʤ��Τǡ�
336
�ǽ�δ����餷��ʸ�����ä�Ƚ�Ǥ��ޤ���
341
JIS �����ǥ��Ȳ�ᤷ�ޤ���
342
�ޤ�����ʹߤ� G0 �� ��JIS ���ؼ����줿��ΤȤ��ޤ���
347
��JIS �����ǥ��Ȳ�ᤷ�ޤ���
348
�ޤ�����ʹߤ� G0 �� ��JIS ���ؼ����줿��ΤȤ��ޤ���
349
@@ -248,48 +248,48 @@
354
- GR -- G1 -- JISx0201��������
355
- G2 -- JISx0201��������
356
- G3 -- JISx0201��������
357
+ GL \-\- G0 \-\- ASCII
358
+ GR \-\- G1 \-\- JISx0201��������
359
+ G2 \-\- JISx0201��������
360
+ G3 \-\- JISx0201��������
362
-JISx0208 ��ʸ���� ESC-$-B ���Ѥ��� G0 �˻ؼ��ƽ��Ϥ��ޤ���
363
+JISx0208 ��ʸ���� ESC\-$\-B ���Ѥ��� G0 �˻ؼ��ƽ��Ϥ��ޤ���
367
- GL -- G0 -- JISROMAN
368
- GR -- G1 -- JISx0201��������
369
- G2 -- JISx0201��������
370
- G3 -- JISx0201��������
371
+ GL \-\- G0 \-\- JISROMAN
372
+ GR \-\- G1 \-\- JISx0201��������
373
+ G2 \-\- JISx0201��������
374
+ G3 \-\- JISx0201��������
376
-JISx0208 ��ʸ���� ESC-$-@ ���Ѥ��� G0 �˵�JIS��ؼ��ƽ��Ϥ��ޤ���
377
+JISx0208 ��ʸ���� ESC\-$\-@ ���Ѥ��� G0 �˵�JIS��ؼ��ƽ��Ϥ��ޤ���
382
- G1 -- JISx0201��������
383
- G2 -- JISx0201��������
384
- GR -- G3 -- JISx0208 ��ʸ��
385
+ GL \-\- G0 \-\- ASCII
386
+ G1 \-\- JISx0201��������
387
+ G2 \-\- JISx0201��������
388
+ GR \-\- G3 \-\- JISx0208 ��ʸ��
390
-JISx0201�Τ������ʤ�ɽ���ˤ� ESC-N (���� ���ե�)��Ȥäơ�
391
+JISx0201�Τ������ʤ�ɽ���ˤ� ESC\-N (���� ���ե�)��Ȥäơ�
392
GR �� G2 ��ƽФ��ƽ��Ϥ��ޤ���
398
- G2 -- JISx0201��������
399
- GR -- G3 -- JISx0208 ��ʸ��
400
+ GL \-\- G0 \-\- ASCII
402
+ G2 \-\- JISx0201��������
403
+ GR \-\- G3 \-\- JISx0208 ��ʸ��
405
-JISx0201�Τ������ʤ�ɽ���ˤ� ESC-} ��Ȥä� GR �� G2 ��ƽФ��ƽ��Ϥ��ޤ���
406
+JISx0201�Τ������ʤ�ɽ���ˤ� ESC\-} ��Ȥä� GR �� G2 ��ƽФ��ƽ��Ϥ��ޤ���
411
- G1 -- JISx0201��������
412
- G2 -- JISx0201��������
413
- G2 -- JISx0201��������
415
+ GL \-\- G0 \-\- ASCII
416
+ G1 \-\- JISx0201��������
417
+ G2 \-\- JISx0201��������
418
+ G2 \-\- JISx0201��������
421
JISx0201�Τ������ʤ�JISx0208 ��ʸ����ɽ���� GR �ǹԤ��ޤ���
423
@@ -299,15 +299,15 @@
427
-GL: SI SO ESC-n ESC-o
428
+GL: SI SO ESC\-n ESC\-o
430
-GR: ESC-~ ESC-} ESC-|
431
+GR: ESC\-~ ESC\-} ESC\-|
442
@@ -316,19 +316,19 @@
444
ASCII JISROMAN GRAPHIC �������� ��JIS ��JIS
446
-G0: ESC-(-B ESC-(-J ESC-(-0 ESC-(-I ESC-$-@ ESC-$-B
447
+G0: ESC\-(\-B ESC\-(\-J ESC\-(\-0 ESC\-(\-I ESC\-$\-@ ESC\-$\-B
449
-G1: ESC-)-B ESC-)-J ESC-)-0 ESC-)-I ESC-$-)-@ ESC-$-)-B
450
+G1: ESC\-)\-B ESC\-)\-J ESC\-)\-0 ESC\-)\-I ESC\-$\-)\-@ ESC\-$\-)\-B
452
-G2: ESC-*-B ESC-*-J ESC-*-0 ESC-*-I ESC-$-*-@ ESC-$-*-B
453
+G2: ESC\-*\-B ESC\-*\-J ESC\-*\-0 ESC\-*\-I ESC\-$\-*\-@ ESC\-$\-*\-B
455
-G3: ESC-+-B ESC-+-J ESC-+-0 ESC-+-I ESC-$-+-@ ESC-$-+-B
456
+G3: ESC\-+\-B ESC\-+\-J ESC\-+\-0 ESC\-+\-I ESC\-$\-+\-@ ESC\-$\-+\-B
458
.SH ���������Ѵ����ץ����
465
��Ȥäƴ���������Ѵ��ˤΤ�Ŭ�Ѥ���륪�ץ����Ǥ���
469
¿����ñ���ʣ�����ɤߤ�����ޤ���
470
���ξ�� {} �Ǥ����ä�ɽ�����ޤ���
473
+ �ǻ� \-> {��Ȥ�|����}
475
����������Ѵ����Ѵ����Ȥ˶������ζ��ڤ������褦�ˤ��ޤ���
476
���ˤ��Ǥ˲��ԡ�����TAB �����äƤ���Фʤˤ⤷�ޤ���
477
@@ -346,13 +346,13 @@
479
"�������ʺ�����ʸ����������Ѵ�"
481
- " kan'zi kana ma ziri bun' woro-ma zi ni hen'kan' "
482
+ " kan'zi kana ma ziri bun' woro\-ma zi ni hen'kan' "
485
--s ���ץ���뤤�� -w ���ץ���������˽��Ϥ������ڤ�ʸ����
486
+\-s ���ץ���뤤�� \-w ���ץ���������˽��Ϥ������ڤ�ʸ����
487
�ǥե���ȤǤ϶���ʸ�� ' ' �Ǥ�����
488
--S ���ץ�����Ǥ�դ� ASCII ʸ�������ꤹ�뤳�Ȥ��Ǥ��ޤ���
489
-���Ȥ��� -s -S__ �Τ褦�˥��ץ�����Ϳ����ȡ�
490
+\-S ���ץ�����Ǥ�դ� ASCII ʸ�������ꤹ�뤳�Ȥ��Ǥ��ޤ���
491
+���Ȥ��� \-s \-S__ �Τ褦�˥��ץ�����Ϳ����ȡ�
495
@@ -360,12 +360,12 @@
497
"����__����__��__����__ʸ__��"
499
-�Ȥʤ�ޤ������뤤�ϡ�-s -S"<sep>" �Ȥ���С�
500
+�Ȥʤ�ޤ������뤤�ϡ�\-s \-S"<sep>" �Ȥ���С�
502
"����<sep>����<sep>��<sep>����<sep>ʸ<sep>��"
508
�Ĥޤ��Ѵ����δ������Ƥˤ����ɤߤ����ߤޤ���
510
@@ -375,13 +375,13 @@
513
�դ꤬�ʥ⡼�ɻ��γ�̤Ȥ���Ǥ�դ� ASCII ʸ�������ꤷ�ޤ���
514
-�����γ�̤��б����� -Fl �� -Fr �Ȥ������ե��å������Ĥ��ޤ���
515
-���Ȥ��С���¦�˺��ݳ�̤���ꤹ��ˤ� -Fl"(" �ȡ�
516
-��¦�˱��ݳ�̤���ꤹ��ˤ� -Fr")" �Ȼ��ꤷ�ޤ���
517
+�����γ�̤��б����� \-Fl �� \-Fr �Ȥ������ե��å������Ĥ��ޤ���
518
+���Ȥ��С���¦�˺��ݳ�̤���ꤹ��ˤ� \-Fl"(" �ȡ�
519
+��¦�˱��ݳ�̤���ꤹ��ˤ� \-Fr")" �Ȼ��ꤷ�ޤ���
521
"�Ѵ���(�ؤ�ޤ�)�δ���(����)����(�來)��"
523
-���뤤�ϡ�-JF -f -Fl"<ruby>" -Fr"</ruby>" �Τ褦�˻��ꤹ��ȡ�
524
+���뤤�ϡ�\-JF \-f \-Fl"<ruby>" \-Fr"</ruby>" �Τ褦�˻��ꤹ��ȡ�
527
"�Ѵ���<ruby>�ؤ�ޤ�</ruby>�δ���<ruby>����</ruby>����<ruby>�來</ruby>��"
529
�Ǥ��ߤ��ʤβ��Ԥ���褦�ˤ��ޤ���
530
�ɤߤȤФ�ʸ���� default ��{���� ���� ����}�Ǥ�����
531
Ǥ�դ� ascii ʸ�����ɲäǤ��ޤ���
532
-JUNET �Υ˥塼���ʤ�С����Ѥ� -c'>' �Ȥ���Ȥ����Ǥ��礦��
533
-�ʲ�����Ǥ� -c">_" �Ȥ�����ΤǤ���
534
+JUNET �Υ˥塼���ʤ�С����Ѥ� \-c'>' �Ȥ���Ȥ����Ǥ��礦��
535
+�ʲ�����Ǥ� \-c">_" �Ȥ�����ΤǤ���
537
>> ���ΥХ��ˤĤ��ƤϤ��줫�鸡
538
>> Ƥ���Ƥߤޤ��� ë_��__��_��
539
@@ -401,22 +401,22 @@
540
>> ���ΥХ��ˤĤ��ƤϤ��줫�餱��Ȥ�
541
>> ���Ƥߤޤ��� ���ˤ��___�Ҥ���_
545
��������������Ѵ�������ˡ�
546
��Ƭ�Υ���ե��٥åȤ���ʸ���ˤ��ޤ���
547
--Ja -Jj �ȶ��˻Ȥä����Τ�ͭ���Ǥ���
548
+\-Ja \-Jj �ȶ��˻Ȥä����Τ�ͭ���Ǥ���
552
��������������Ѵ�������ˡ�
553
����ե��٥åȤ٤���ʸ���ˤ��ޤ���
554
--Ja -Jj �ȶ��˻Ȥä����Τ�ͭ���Ǥ���
555
+\-Ja \-Jj �ȶ��˻Ȥä����Τ�ͭ���Ǥ���
558
�������ؤ��Ѵ��ͼ���إܥ��鷱�ἰ���ѹ����ޤ���
559
�㤨�С�'��' ��ɸ��Ǥ� 'shi' �Ǥ����� 'si' �ˤʤ�ޤ���
570
.\" �ߤĤ����� takahasi@tiny.or.jp �ޤǥ�ݡ��Ȥ��Ƥ���������
571
��������ޤ����顢�ⶶ����ˤǤϤʤ���KAKASI �ץ���������
572
-<kakasi-dev@namazu.org> �ޤǤ��Τ餻��������
573
\ No newline at end of file
574
+<kakasi\-dev@namazu.org> �ޤǤ��Τ餻��������