e53f872a6410e026168ef26081f06fcfdfd29663
[chise/ruby.git] / tools / make-ids-database.rb
1 #!/usr/bin/env ruby
2 # Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
3 # This tool read all IDS text database and store them as BDB files.
4 # with normalizing IDS.
5
6 $LOAD_PATH.unshift("..")
7 require "chise/idsdb"
8
9 man = CHISE::IDS_DB_Management.new
10 man.store_ids_to_bdb # 9\95ª
11
12 =begin
13 db = IDS_DB.instance
14 db.make_ids_db #1\8e\9e\8aÔ12\95ª
15 IDS_TEXT_DB.instance.make_ids_error #4\95ª
16 db.make_ids_reverse #2\95ª
17 db.dump_ids_duplicated #1\95ª
18 db.make_ids_aggregated #5\95ª
19 db.dump_ids_aggregated #1\95ª
20 db.make_ids_parts #30\95ª
21 db.make_ids_contained #2\95ª
22 #db.make_ids_decomposed #2\95ª\81¨\82¨\82í\82ç\82È\82©\82Á\82½\81c\81B
23 =end