i
[chise/ruby.git] / tools / make_ids_db.rb
index fa8a862..7d0e3d2 100755 (executable)
@@ -1,11 +1,10 @@
 #!/usr/bin/env ruby
-# by eto 2003-0110
+# Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
 # IDSのテキストファイルを読み、bdbとして出力する
 # 同時に、各種のIDS正規化作業も行う
 
-$LOAD_PATH << '../lib'
-require 'chise'
-include CHISE
+$LOAD_PATH.unshift("..")
+require "chise/char"
 
 db = IDS_DB.instance
 db.make_ids_db #1時間12分
@@ -17,5 +16,3 @@ db.dump_ids_aggregated #1分
 db.make_ids_parts #30分
 db.make_ids_contained #2分
 #db.make_ids_decomposed #2分→おわらなかった…。
-
-#----------------------------------------------------------------------end.