X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fruby.git;a=blobdiff_plain;f=chise%2Fidsdb.rb;h=133b298fb6f19cef4e377d68467710eb24c72f81;hp=83a55c0b3ec59419042054297d15e89081c4e8f7;hb=HEAD;hpb=8feecfd1d87e83209d2e46a4115be7854dd79088 diff --git a/chise/idsdb.rb b/chise/idsdb.rb index 83a55c0..133b298 100755 --- a/chise/idsdb.rb +++ b/chise/idsdb.rb @@ -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