X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=tools%2FREADME;h=262454170663874374c90f23ed819136149ebb10;hb=01f8a8729eb7fc675cc383ce7d2981b18ed289e9;hp=d0a88a1406b1ea9e59f0ad3bb64d706d3ae082f6;hpb=dca7de2dc83659ff9a31b0ce9351826204185df1;p=chise%2Fruby.git diff --git a/tools/README b/tools/README index d0a88a1..2624541 100755 --- a/tools/README +++ b/tools/README @@ -1,25 +1,51 @@ -¡Ruby/CHISE‚ƈꏏ‚ÉŽg‚¤‚Æ‚¢‚¢‚©‚à‚µ‚ê‚È‚¢“¹‹ïŒQ - -œdbdumball.rb -char-db‚Ì’†‚ÌbdbŒQ‚Ì“à—e‚ð‘S‚Ä.txtƒtƒ@ƒCƒ‹‚Æ‚µ‚Ädump‚µ‚Ü‚·B -‚±‚¤‚·‚é‚ƁAbdb‚Ì“à—e‚ª‚ǂ̂悤‚É‚È‚Á‚Ä‚¢‚é‚©‚ªƒeƒLƒXƒg‚Å‚í‚©‚Á‚Ä•Ö—˜‚Å‚·B -“¯‚¶directory‚ɏ‘‚«o‚µ‚Ü‚·‚̂ŁA‘‚«ž‚Ý‚Ìpermisson‚ª•K—v‚È‚Í‚¸‚Å‚·B - -œmake_ids_db.rb -ƒeƒLƒXƒg‚É‚æ‚éIDSƒtƒ@ƒCƒ‹ŒQ‚ð‘S‚Ä“Ç‚Ý‚±‚݁A -BDB‚Æ‚µ‚Ächar-db/system-char-id/‰º‚ɃZ[ƒu‚µ‚È‚¨‚µ‚Ü‚·B -ŽŸ‰ñ‚©‚ç‚͒ʏí‚Ì‘®«‚̈ê‚‚Ƃµ‚Ä.ids‚ðŽg‚¦‚é‚悤‚É‚È‚è‚Ü‚·B -isolated character‚ðœ‚­‚½‚ß‚É”ñí‚É’x‚­‚È‚Á‚Ä‚¢‚āA1ŽžŠÔ‚­‚ç‚¢‚©‚©‚è‚Ü‚·B - -œmkdbtarball.rb $1 $2 -—á: ./mkdbtarball.rb /usr/local/lib/xemacs-21.4.10/i686-pc-linux/ /var/tmp -char-db‚Ìtarball(char-db.tar.gz)‚ðì‚è‚Ü‚·B -$1‚Échar-db‚Ì‚ ‚è‚©‚ðŽw’肵‚Ü‚·B -‚Ü‚¸$2‚Ì‚Æ‚±‚ë(Žw’è–³‚¯‚ê‚Î/var/tmp)‚Échar-db‚ð‚܂邲‚ƃRƒs[‚µA -ƒtƒ@ƒCƒ‹–¼‚Ì•¶Žš•ÏŠ·‚ðs‚¢Achar-db.tar.gz‚ðì‚è‚Ü‚·B -< > * ? ¨ ( ) + ! -Windows‚̃tƒ@ƒCƒ‹–¼§ŒÀ‚ŁAã‹L‚̍¶‘¤‚Ì•¶Žš‚ªŽg‚¦‚È‚¢‚½‚߁A -‚»‚ê‚ç‚Ì•¶Žš‚ð‰E‘¤‚Ì•¶Žš‚É’u‚«‚©‚¦‚Ä‚©‚çAtar.gz‚ðì‚è‚Ü‚·B - -œtrim_bom.rb -•¶“ª‚É‚ ‚éBOM(byte order mark)‚ðŽæ‚菜‚«‚Ü‚·B +* tools for Chise Character DataBase management + +** define-kanji-meaning.rb + +add new features about the meaning of Kanji Character in IDS. + +** dump-database.rb + +This tool dumps all data of the database to text files. +You can see the inside of the database. It's convenient. + +** make-chisedb-tarball.rb + + Usage: make-chisedb-tarball.rb + +example. + % ./make-chisedb-tarball.rb /usr/local/lib/xemacs-21.4.14/i686-pc-linux + +This makes a tarball (chise-db.tar.gz) of the Chise Character DataBase +files. Set a directory that contains "chise-db" directory to the +first argument. You can input the temp directory to the second arg. +(default value: /var/tmp) + +This tools also rename the characters that contains Windows forbidden +characters. + + < > * ? ¨ ( ) + ! + +** make-ids-database.rb + +This tool read the all of IDS test files, parse them and store them to +BDB files. Then, you can use some ids features as normal features. +It's very slow. It takes time almost 1 hour. + +** move-obsolete-files.rb + +There are some obsolete features. This tool moves the obsolete files +to a directory. + +** rename-files.rb + +Currently, the directory tree of XEmacs CHISE and the requirement of +libchise is not same. This tool renames the old files trees to the +new file trees. + +** trim_bom.rb + +This tool remove a BOM (Byte Order Mark) in the head of file. + +==== +Kouichirou Eto, http://eto.com/