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