1 |
wakaba |
1.1 |
#!/usr/local/bin/perl
|
2 |
|
|
use utf8; ## This file is written in UTF-8
|
3 |
|
|
use strict;
|
4 |
|
|
require 'mkpm.pl';
|
5 |
|
|
use vars qw(%PROP %SET %SET_ALIAS);
|
6 |
|
|
$PROP{module_name} = 'JaInput';
|
7 |
|
|
$PROP{version} = do{my @r=(q$Revision: 1.1 $=~/\d+/g);sprintf "%d."."%02d" x $#r,@r};
|
8 |
|
|
$PROP{author_name} = 'わかば (Wakaba)';
|
9 |
|
|
$PROP{author_mail} = 'w@suika.fam.cx';
|
10 |
|
|
|
11 |
|
|
$PROP{pod_description} = <<EOH;
|
12 |
|
|
Character classes for Japanese input method
|
13 |
|
|
EOH
|
14 |
|
|
|
15 |
|
|
$PROP{pod_see_also} = <<EOH;
|
16 |
|
|
JIS X 4062:1998, 『仮名漢字変換辞書交換形式 (Format for information interchange
|
17 |
|
|
for dictionaries of Japanese input method)』, 日本工業標準調査会
|
18 |
|
|
(Japanese Industrial Standard Commitee (JISC), <http://www.jisc.go.jp/>), 1998.
|
19 |
|
|
|
20 |
|
|
JIS X 4063:2000, 『仮名漢字変換システムのための英字キー入力から仮名への変換方式
|
21 |
|
|
(Keystroke to KANA Transfer Method Using Latin Letter Key for Japanese Input
|
22 |
|
|
Method)』, 日本工業標準調査会), 2000.
|
23 |
|
|
|
24 |
|
|
JIS X 4064:2002, 『仮名漢字変換システムの基本機能
|
25 |
|
|
(Basic functions of Kana‐Kanji conversion systems)』,
|
26 |
|
|
日本工業標準調査会, 2000.
|
27 |
|
|
|
28 |
|
|
JIS X 6002-1980, 『情報処理系けん盤配列 (Keyboard Layout for Information Processing
|
29 |
|
|
Using the JIS 7 Bit Coded Character Set)』,
|
30 |
|
|
日本工業標準調査会, 1980.
|
31 |
|
|
EOH
|
32 |
|
|
|
33 |
|
|
$SET{Yomi} = <<EOH;
|
34 |
|
|
#DESCRIPTION よみ文字列として交換を保証する文字 (JIS X 4062:1998 表1)
|
35 |
|
|
ーあいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめも
|
36 |
|
|
やゆよらりるれろわをんがぎぐげござじずぜぞだぢづでどばびぶべぼぱぴぷぺぽ
|
37 |
|
|
ぁぃぅぇぉっゃゅょ
|
38 |
|
|
アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモ
|
39 |
|
|
ヤユヨラリルレロワヲンガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポ
|
40 |
|
|
ァィゥェォッャュョ
|
41 |
|
|
EOH
|
42 |
|
|
# ゎゐゑ
|
43 |
|
|
# ヮヰヱヵヶ
|
44 |
|
|
|
45 |
|
|
$SET{Shiin} = <<EOH;
|
46 |
|
|
#DESCRIPTION 子音字 (JIS X 4063:2000 3.b))
|
47 |
|
|
bcdfghjklmnpqrstvwxyz
|
48 |
|
|
EOH
|
49 |
|
|
|
50 |
|
|
$SET{Boin} = <<EOH;
|
51 |
|
|
#DESCRIPTION 母音字 (JIS X 4063:2000 3.c))
|
52 |
|
|
aiueo
|
53 |
|
|
EOH
|
54 |
|
|
|
55 |
|
|
#$SET{Hiragana} = <<EOH;
|
56 |
|
|
##DESCRIPTION 平仮名 (JIS X 4064:2002 5.a))
|
57 |
|
|
#あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめも
|
58 |
|
|
#やゆよらりるれろわをんがぎぐげござじずぜぞだぢづでどばびぶべぼぱぴぷぺぽ
|
59 |
|
|
#ぁぃぅぇぉっゃゅょ\N{HIRAGANA LETTER VU}\N{HIRAGANA LETTER SMALL KA}\N{HIRAGANA LETTER SMALL KE}
|
60 |
|
|
#EOH
|
61 |
|
|
# + か゜~こ゜
|
62 |
|
|
|
63 |
|
|
$SET{HiraganaMin} = <<EOH;
|
64 |
|
|
#DESCRIPTION 平仮名 (最小集合) (JIS X 4064:2002 5.a))
|
65 |
|
|
あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめも
|
66 |
|
|
やゆよらりるれろわをんがぎぐげござじずぜぞだぢづでどばびぶべぼぱぴぷぺぽ
|
67 |
|
|
ぁぃぅぇぉっゃゅょ
|
68 |
|
|
EOH
|
69 |
|
|
|
70 |
|
|
#$SET{Katakana} = <<EOH;
|
71 |
|
|
##DESCRIPTION 片仮名 (JIS X 4064:2002 5.b))
|
72 |
|
|
#アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモ
|
73 |
|
|
#ヤユヨラリルレロワヲンガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポ
|
74 |
|
|
#ァィゥェォッャュョヴヵヶ\N{KATAKANA LETTER WA WITH SEMI-VOICED SOUND MARK}\N{KATAKANA LETTER WI WITH SEMI-VOICED SOUND MARK}\N{KATAKANA LETTER WE WITH SEMI-VOICED SOUND MARK}\N{KATAKANA LETTER WO WITH SEMI-VOICED SOUND MARK}
|
75 |
|
|
#EOH
|
76 |
|
|
# + カ゜~コ゜, セ゜, ツ゜, ト゜, JIS X 0213 1-6-78~1-6-94
|
77 |
|
|
|
78 |
|
|
$SET{Katakana} = <<EOH;
|
79 |
|
|
#DESCRIPTION 片仮名 (最小集合) (JIS X 4064:2002 5.b))
|
80 |
|
|
アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモ
|
81 |
|
|
ヤユヨラリルレロワヲンガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポ
|
82 |
|
|
ァィゥェォッャュョヴヵヶ
|
83 |
|
|
EOH
|
84 |
|
|
|
85 |
|
|
$SET{KeyKatakana} = <<EOH;
|
86 |
|
|
#DESCRIPTION 片仮名 (鍵盤) (JIS X 6002-1980 4.2.2)
|
87 |
|
|
アイウエオカキクケコサシスセソタチツテトナニヌネノ
|
88 |
|
|
ハヒフヘホマミムメモヤユヨラリルレロワヲンァィゥェォッャュョ
|
89 |
|
|
EOH
|
90 |
|
|
|
91 |
|
|
$SET{KanaSymbol} = <<EOH;
|
92 |
|
|
#DESCRIPTION 仮名記号 (JIS X 4064:2002 5.c))
|
93 |
|
|
、。・゛゜ー「」
|
94 |
|
|
EOH
|
95 |
|
|
|
96 |
|
|
$SET{Latin} = <<EOH;
|
97 |
|
|
#DESCRIPTION 英字 (JIS X 4064:2002 5.d))
|
98 |
|
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
99 |
|
|
abcdefghijklmnopqrstuvwxyz
|
100 |
|
|
EOH
|
101 |
|
|
|
102 |
|
|
$SET{LatinCapital} = <<EOH;
|
103 |
|
|
#DESCRIPTION 英字 (大文字) (JIS X 6002-1980 4.2.1 (1))
|
104 |
|
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
105 |
|
|
EOH
|
106 |
|
|
|
107 |
|
|
$SET{LatinSmall} = <<EOH;
|
108 |
|
|
#DESCRIPTION 英字 (小文字) (JIS X 6002-1980 4.2.1 (2))
|
109 |
|
|
abcdefghijklmnopqrstuvwxyz
|
110 |
|
|
EOH
|
111 |
|
|
|
112 |
|
|
$SET{Digit} = <<EOH;
|
113 |
|
|
#DESCRIPTION 数字 (JIS X 4064:2002 5.e), JIS X 6002-1980 4.2.3)
|
114 |
|
|
0123456789
|
115 |
|
|
EOH
|
116 |
|
|
|
117 |
|
|
=pod
|
118 |
|
|
|
119 |
|
|
$SET{Symbol} = <<EOH;
|
120 |
|
|
#DESCRIPTION 記号 (JIS X 4064:2002 5.f))
|
121 |
|
|
、。・\N{INVERTED EXCLAMATION MARK}N{DOUBLE QUESTION MARK}\N{INVERTED QUESTION MARK}
|
122 |
|
|
\N{DOUBLE EXCLAMATION MARK}\N{QYESTION EXCLAMATION MARK}\N{EXCLAMATION QUESTION MARK}
|
123 |
|
|
‐\N{EN DASH}-\N{EM DASH}\N{KATAKANA DOUBLE HYPHEN}\N{DOUBLE VERTICAL LINE}
|
124 |
|
|
\N{TWO DOT LEADER}\N{HORIZONTAL ELLIPSIS}\N{WAVE DASH}゛゜\N{DOUBLE ACUTE ACCENT}
|
125 |
|
|
\N{DIAERESIS}\N{MARCRON}\N{BREVE}\N{CARON}\N{DOT ABOVE}\N{CEDILLA}\N{OGONEK}
|
126 |
|
|
\N{MODIFIER LETTER RHOTIC HOOK}\N{MODIFIER LETTER VERTICAL LINE}
|
127 |
|
|
\N{MODIFIER LETTER LOW VERTICAL LINE}\N{MODIFIER LETTER TRIANGULAR COLON}
|
128 |
|
|
\N{MODIFIER LETTER HALF TRIANGULAR COLON}\N{UNDERTIE}
|
129 |
|
|
\N{MODIFIER LETTER EXTRA-HIGH TONE BAR}\N{MODIFIER LETTER HIGH TONE BAR}
|
130 |
|
|
\N{MODIFIER LETTER MID TONE BAR}\N{MODIFIER LETTER LOW TONE BAR}
|
131 |
|
|
\N{MODIFIER LETTER EXTRA-LOW TONE BAR}“〝〟\N{FULLWIDTH LEFT WHITE PARENTHESIS}
|
132 |
|
|
\N{FULLWIDTH RIGHT WHITE PARENTHESIS}〔〕\N{LEFT WHITE TORTOISE SHELL BRACKET}
|
133 |
|
|
\N{RIGHT WHITE TORTOISE SHELL BRACKET}〈〉《》
|
134 |
|
|
\N{LEFT-POINTING DOUBLE ANGLE QUOTATION MARK}
|
135 |
|
|
\N{RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK}「」『』【】
|
136 |
|
|
\N{LEFT WHITE LENTICULAR BRACKET}\N{RIGHT WHITE LENTICULAR BARCKET}×÷
|
137 |
|
|
±\N{MINUS-OR-PLUS SIGN}\N{NOT EQUAL TO}≒\N{ASYMPTOTICALLY EQUAL TO}
|
138 |
|
|
\N{APPROXIMATELY EQUAL TO}\N{ALMOST EQUAL TO}\N{IDENTICAL TO}
|
139 |
|
|
\N{NOT IDENTICAL TO}≦≧≪≫\N{LESS-THAN OR GREATER-THAN}
|
140 |
|
|
\N{GREATER-THAN OR LESS-THAN}\N{LESS-THAN EQUAL TO OR GREATER-THAN}
|
141 |
|
|
\N{GREATER-THAN EQUAL TO OR LESS-THAN}\N{LOGICAL AND}\N{LOGICAL OR}
|
142 |
|
|
\N{PROJECTIVE}\N{PERSPECTIVE}\N{SUBSET OF}\N{SUPERSET OF}\N{NOT A SUBSET OF}
|
143 |
|
|
\N{NOT A SUPERSET OF}\N{SUBSET OF OR EQUAL TO}\N{SUPERSET OF OR EQUAL TO}
|
144 |
|
|
\N{SUBSET OF WITH NOT EQUAL TO}\N{SUPERSET OF WITH NOT EQUAL TO}
|
145 |
|
|
\N{ELEMENT OF}\N{CONTAINS AS MEMBER}\N{NOT AN ELEMENT OF}\N{UNION}\N{INTERSECTION}
|
146 |
|
|
\N{CIRCLED PLUS}\N{CIRCLED MINUS}\N{CIRCLED TIMES}\N{EMPTY SET}\N{DOUBLE PLUS}
|
147 |
|
|
\N{TRIPLE PLUS}\N{PARALLEL TO}\N{NOT PARALLEL TO}⇒⇔\N{LEFT RIGHT ARROW}
|
148 |
|
|
\N{ANGLE}\N{UP TACK}\N{RIGHT ANGLE}\N{NOT SIGN}\N{ARC}\N{REVERSED TILDE]
|
149 |
|
|
\N{PROPORTIONAL TO}\N{INFINITY}♂♀\N{INTEGRAL}\N{DOUBLE INTEGRAL}
|
150 |
|
|
\N{CONTOUR INTEGRAL}\N{THEREFORE}\N{BECAUSE}\N{SQUARE ROOT}∀∃∂\N{NABLA}
|
151 |
|
|
\N{ALEF SYMBOL}\N{PLANCK CONSTANT OVER TWO PI}°′″℃\N{CENT SIGN}
|
152 |
|
|
\N{POUND SIGN}\M{EURO SIGN}\N{CURRENCY SIGN}‰Å\N{SQUARE HP}\N{SCRIPT SMALL L}
|
153 |
|
|
\N{INVERTED OHM SIGN}&\N{BORKEN BAR}\N{COPYRIGHT SIGN}\N{REGISTERED SIGN}
|
154 |
|
|
\M{FEMININE ORDINAL INDICATOR}\N{MASCULINE ORDINAL INDICATOR}\N{DAGGER}
|
155 |
|
|
\N{DOUBLE DAGGER}¶\N{DOUBLE ASTERISK}\N{ASTERISM}\N{SECTION SIGN}※☆★
|
156 |
|
|
○●◎\N{CIRCLE WITH LEFT HALF BLACK}\N{CIRCLE WITH RIGHT HALF BLACK}
|
157 |
|
|
\N{CIRCLE WITH LOWER HALF BLACK}\N{CIRCLE WITH UPPER HALF BLACK}\N{LARGE CIRCLE}
|
158 |
|
|
◇◆□■△▲▽▼\N{WHITE RIGHT-POINTING TRIANGLE}\N{BLACK RIGHT-POINTING TRIANGLE}
|
159 |
|
|
\N{WHITE LEFT-POINTING TRIANGLE}\N{BLACK LEFT-POINTING TRIANGLE}
|
160 |
|
|
\N{WHITE SPADE SUIT}\N{WHITE DIAMOND SUIT}\N{WHITE HEART SUIT}\N{WHITE CLUB SUIT}
|
161 |
|
|
\N{BLACK SPADE SUIT}\N{BLACK DIAMOND SUIT}\N{BLACK HEART SUIT}\N{BLACK CLUB SUIT}
|
162 |
|
|
\N{WHITE SHOGI PIECE}\N{BLACK SHOGI PIECE}〒\N{POSTAL MARK FACE}\N{BLACK TELEPHONE}
|
163 |
|
|
\N{BLACK SUN WITh RAYS}\N{CLOUD}\N{UMBRELLA}\N{SNOWMAN}\N{HOT SPRINGS}
|
164 |
|
|
\N{WHITE RIGHT POINTING INDEX}\N{CHECK MARK}\N{RPACE OF INTEREST SIGN}
|
165 |
|
|
\N{OPEN BOX}\N{RETURN SIGN}\N{BLACK DIAMOND MINUS WHITE X}\N{WHITE PARALLELELOGRAM}
|
166 |
|
|
\N{RIGHT TRIANGLE}\N{WHITE BULLET}\N{BULLET}\N{WHITE SESAME DOT}\N{SESAME DOT}
|
167 |
|
|
\N{CIRCLED BULLET}\N{FISHEYE}〓\N{PART-ALTERNATION MARK}→←↑↓
|
168 |
|
|
\N{NORTH EAST ARROW}\N{SOUTH EAST ARROW}\N{SOUTH WEST ARROW}\N{NORTH WEST ARROW}
|
169 |
|
|
\N{RISING ARROW}\N{DOWING ARROW}\N{RIGHTWARDS ARROW OVER LEFTWARDS ARROW}
|
170 |
|
|
\N{RIGHTWARDS WHITE ARROW}\N{LEFTWARDS WHITE ARROW}\N{UPWARDS WHITE ARROW}
|
171 |
|
|
\N{DOWNWARDS WHITE ARROW}\N{QUARTER NOTE}\N{EIGHTH NOTE}
|
172 |
|
|
\N{BEAMED EIGHTH NOTES}\N{BEAMED SIXTEENTH NOTES}\N{MUSIC SHARP SIGN}♭♮
|
173 |
|
|
EOH
|
174 |
|
|
# + RISING SYMBOL, FALLING SYMBOL (JIS X 0213 1-11-60,70)
|
175 |
|
|
# JIS X 0213:2000 附属書4表1,2,3,6,7,8,9
|
176 |
|
|
# - JIS X 4064:2002 表2 (IDSP ,.:;?!´`^ ̄_/\|‘’”()[]{}+-=<>¥$%#*@'"~)
|
177 |
|
|
|
178 |
|
|
=cut
|
179 |
|
|
|
180 |
|
|
$SET{Digit} = <<EOH;
|
181 |
|
|
#DESCRIPTION 数字 (JIS X 4064:2002 5.e))
|
182 |
|
|
0123456789
|
183 |
|
|
EOH
|
184 |
|
|
|
185 |
|
|
$SET{EnglishSymbol} = <<'EOH';
|
186 |
|
|
#DESCRIPTION 英字用特殊文字 (JIS X 6002-1980 4.2.4 (1))
|
187 |
|
|
!"#$%&'()*+,-./:;<=>?@{\N{YEN SIGN}}^_`{|} ̄
|
188 |
|
|
EOH
|
189 |
|
|
|
190 |
|
|
$SET{KatakanaSymbol} = <<EOH;
|
191 |
|
|
#DESCRIPTION 片仮名用特殊文字 (JIS X 6002-1980 4.2.4 (2))
|
192 |
|
|
。「」、・-゛゜
|
193 |
|
|
EOH
|
194 |
|
|
|
195 |
|
|
&print_module;
|
196 |
|
|
|
197 |
|
|
## $Date: 2002/09/07 12:55:01 $
|
198 |
|
|
### JISX4062-src.upl ends here
|