The report for CHISE Symposium 20003 has been published.
[www/chise.git] / perl / index.html.ja.iso-2022-jp
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2             "http://www.w3.org/TR/html4/loose.dtd">
3 <html lang="ja">
4 <head>
5 <title>Perl/CHISE: CHaracter Information Service Environment</title>
6 <link rel=stylesheet href="../chise.css" type="text/css">
7 </head>
8 <body>
9
10     <p>
11       [<a href="../index.html.ja.iso-2022-jp">CHISE</a>]
12       [<a href="../xemacs/index.html.ja.iso-2022-jp">XEmacs CHISE</a>]
13       [<a href="../ruby/index.html.ja.iso-2022-jp">Ruby/CHISE</a>]
14       [Perl/CHISE]
15       [<a href="../topicmaps/index.html.ja.iso-2022-jp">TopicMaps</a>]
16       [<a href="../ids/index.html.ja.iso-2022-jp">IDS</a>]
17       [<a href="../glyph/index.html.ja.iso-2022-jp">glyph</a>]
18       [<a href="../visualization/index.html.ja.iso-2022-jp">Visualization</a>]
19       [<a href="../omega/index.html.ja.iso-2022-jp">\e$B&8\e(B</a>]
20     </p>
21
22 <h1>
23 <a href="../index.html.ja.iso-2022-jp">CHISE</a> / 
24 <a name="ruby">Perl/CHISE</a>
25 </h1>
26
27 <hr>
28
29     <p>
30       CHISE \e$BJ8;z%G!<%?%Y!<%9!J8=>u$G$O\e(B <a href="../xemacs/">XEmacs CHISE</a> \e$BMQ$N\e(B
31       Berkeley DB \e$BHGJ8;z%G!<%?%Y!<%9!K$r\e(B Perl \e$B$+$i%"%/%;%9$9$k%b%8%e!<%k$r\e(B
32       \e$B3+H/$7$F$$$^$9!#\e(B
33     </p>
34
35 <h2>NAME</h2>
36
37     <p>
38       CHISE
39     </p>
40
41 <h2>SYNOPSIS</h2>
42
43 <pre>use CHISE;
44
45 my $s1 = CHISE->new(ideograph_daikanwa => 6942); # \e$B!V;z!W\e(B
46 print $s1->strokes, "\n"; # \e$B2h?t$rI=<(\e(B
47
48 my $s2 = CHISE->new(shinjigen_2 => 1777); # \e$B!V;z!W\e(B
49 print $s2->compare($s1) * 100, "%\n"; # $s1\e$B$H\e(B$s2\e$B$rHf3S$7$F0lCWN($rI=<(\e(B
50
51\e$B2h?t\e(B15\e$B!"\e$A2?JW\e(B9(\e$B$K$s$Y$s\e(B)\e$B$N4A;z$r?7$?$K:n$k\e(B
52 my $s3 = CHISE->define_char(strokes => 15, radical => 9);
53 </pre>
54
55 <h2>METHOD</h2>
56
57     <dl>
58       <dt><code>new(\e$BB0@-L>\e(B=&gt;\e$BCM\e(B)</code></dt>
59       <dd>\e$BB0@-L>$H$=$NCM$KBP1~$9$kJ8;z%*%V%8%'%/%H$r@8@.$9$k!#\e(B
60         \e$B4XO"$9$kB>$NB0@-$b<+F0E*$K<h$j9~$^$l$k!#\e(B
61       <dt><code>define_char(\e$BB0@-L>\e(B=&gt;\e$BCM\e(B[, ...])</code></dt>
62       <dd>\e$BB0@-L>$H$=$NCM\e(B(\e$B$N=89g\e(B)\e$B$r;}$DJ8;z%*%V%8%'%/%H$r?7$7$/@8@.$9$k!#\e(B
63       <dt><code>dump_attr</code></dt>
64       <dd>\e$BJ8;z%*%V%8%'%/%H$,;}$DB0@-$NL>A0$HCM$r=PNO$9$k!#\e(B
65       <dt><code>add_attr(\e$BB0@-L>\e(B=&gt;\e$BCM\e(B)</code></dt>
66       <dd>\e$BJ8;z%*%V%8%'%/%H$KB0@-L>$H$=$NCM$rDI2C$9$k!#\e(B
67       <dt><code>del_attr(\e$BB0@-L>\e(B)</code></dt>
68       <dd>\e$BJ8;z%*%V%8%'%/%H$+$iB0@-$r:o=|$9$k!#\e(B
69       <dt><code>compare(\e$B%*%V%8%'%/%HL>\e(B)</code></dt>
70       <dd>\e$BJ8;z%*%V%8%'%/%H$NB0@-$I$&$7$rHf3S$7$F!"$=$N=E$J$j6q9g$rJV$9!#\e(B
71     </dl>
72
73 <h2>TO DO</h2>
74
75     <ul>
76       <li>\e$B<BAu$,$i$_\e(B
77         <ul>
78           <li>\e$B%G!<%?%Y!<%9$X$N%"%/%;%9$NCj>]2=\e(B</li>
79           <li>\e$B%G!<%?%Y!<%9$N%"%/%;%9$N9bB.2=\e(B</li>
80           <li>\e$B%G!<%?%Y!<%9$X$N=q$-9~$_\e(B</li>
81         </ul></li>
82       <li>IDS\e$B$,$i$_\e(B
83         <ul>
84           <li><code>$s = CHISE-&gt;define_char(ids =&gt; &quot;...&quot;)</code>
85             \e$B$_$?$$$J$3$H$,$G$-$k$h$&$K!#\e(B
86           <li>decompose\e$B%a%=%C%I\e(B</li>
87           <li>include\e$B%a%=%C%I\e(B
88             (\e$B$"$k%*%V%8%'%/%H$KItIJ$,4^$^$l$F$$$k$+D4$Y$k\e(Bboolean)</li>
89           <li>KAGE\e$B%5!<%P$H$N@\B3\e(B</li>
90         </ul></li>
91       <li>\e$BB>$N\e(BOS\e$B$X$NBP1~\e(B
92         <ul>
93           <li>\e$B%G!<%?%Y!<%9$N\e(BPath(\e$B4D6-JQ?t!)\e(B)</li>
94           <li>\e$B%G!<%?%Y!<%9$NG[I[J}K!\e(B</li>
95         </ul></li>
96       <li>\e$B=89g1i;;$,$i$_\e(B</li>
97     </ul>
98             
99
100 <hr>
101
102 <h2>\e$BJ8=q!&H/I=\e(B</h2>
103
104     <ul>
105       <li><a href="http://www.ya.sakura.ne.jp/~moro/">\e$B;ULP<y\e(B</a>
106         \e$B!V\e(BUTF2000.pm: overview\e$B!W\e(B
107         (CHISE14\e$B%7%s%]%8%&%`!"\e(BATR\e$B!"\e(B2003\e$BG/\e(B2\e$B7n\e(B1\e$BF|\e(B)
108         <a href="../papers/20030201moro/20030201perlUTF2000.html">HTML</a>,
109         <a href="../papers/20030201moro/20030201perlUTF2000.sxi">OpenOffice</a>
110       </li>
111     </ul>
112
113 <hr>
114
115     <p>
116       [<a href="../">\e$BLa$k\e(B</a>]
117     </p>
118
119     <p>
120 <!-- hhmts start -->
121 Last modified: Thu Mar 13 01:54:38 JST 2003
122 <!-- hhmts end -->.
123     </p>
124
125
126 </body>
127 </html>