262454170663874374c90f23ed819136149ebb10
[chise/ruby.git] / tools / README
1 * tools for Chise Character DataBase management
2
3 ** define-kanji-meaning.rb
4
5 add new features about the meaning of Kanji Character in IDS.
6
7 ** dump-database.rb
8
9 This tool dumps all data of the database to text files.
10 You can see the inside of the database.  It's convenient.
11
12 ** make-chisedb-tarball.rb
13
14  Usage: make-chisedb-tarball.rb <directory of XEmacs CHISE> <tmp dir>
15
16 example.
17  % ./make-chisedb-tarball.rb /usr/local/lib/xemacs-21.4.14/i686-pc-linux
18
19 This makes a tarball (chise-db.tar.gz) of the Chise Character DataBase
20 files.  Set a directory that contains "chise-db" directory to the
21 first argument.  You can input the temp directory to the second arg.
22 (default value: /var/tmp)
23
24 This tools also rename the characters that contains Windows forbidden
25 characters.
26
27  < > * ? \81ยจ ( ) + !
28
29 ** make-ids-database.rb
30
31 This tool read the all of IDS test files, parse them and store them to
32 BDB files.  Then, you can use some ids features as normal features.
33 It's very slow.  It takes time almost 1 hour.
34
35 ** move-obsolete-files.rb
36
37 There are some obsolete features.  This tool moves the obsolete files
38 to a directory.
39
40 ** rename-files.rb
41
42 Currently, the directory tree of XEmacs CHISE and the requirement of
43 libchise is not same.  This tool renames the old files trees to the
44 new file trees.
45
46 ** trim_bom.rb
47
48 This tool remove a BOM (Byte Order Mark) in the head of file.
49
50 ====
51 Kouichirou Eto, http://eto.com/