update.
[chise/ruby.git] / chise / idsdb.rb
index 83a55c0..133b298 100755 (executable)
@@ -105,10 +105,10 @@ module CHISE
 
     def make_by_ids_db_org
       h = {}
-      byids = @cd.get_by_ids_db("ids-org")
+      byids = @cd.get_ccs_str("ids-org")
       @cd.get_feature("ids-org").each_char {|cid, ids|
        char = Character.get(cid)
-       byids.set_decoded_char(ids, cid)
+       byids.set_by_str(ids, cid)
        h[ids] = cid
       }
       qp h.length
@@ -174,10 +174,10 @@ module CHISE
     end
 
     def make_by_ids_db
-      byids = @cd.get_by_ids_db("ids")
+      byids = @cd.get_ccs("ids")
       @cd.get_feature("ids").each_char {|cid, ids|
        char = Character.get(cid)
-       byids.set_decoded_char(ids, cid)
+       byids.set_by_str(ids, cid)
       }
       byids.dump
     end