X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fruby.git;a=blobdiff_plain;f=chise%2Fidsdb.rb;fp=chise%2Fidsdb.rb;h=d53998dc8d7a447fa597ce59d70d3604cca8dc6b;hp=a0a3fad9a82ff0c1cba7d0500ddf3274424275a2;hb=2e6979dc4c575c1fcace46446e6a95aef346fe1b;hpb=98b534b0449bdeedcba40a1f692764569fe63ac7 diff --git a/chise/idsdb.rb b/chise/idsdb.rb index a0a3fad..d53998d 100755 --- a/chise/idsdb.rb +++ b/chise/idsdb.rb @@ -14,7 +14,7 @@ module CHISE def check_conflict_of_ids_text @idsdb.each_ccs {|ccs| - qp ccs + #qp ccs c = Hash.new(0) h = {} @idsdb.get_ccs(ccs).each_character {|char, ids| @@ -41,7 +41,7 @@ module CHISE def store_ids_as_text @idsdb.each_ccs {|ccs| - #qp ccs + qp ccs @idsdb.get_ccs(ccs).each_character {|char, ids| next if ids == char.to_s next if ids.char_length == 1 @@ -52,7 +52,7 @@ module CHISE end def store_ids_de_er - @cd.get_feature("ids-text").each {|cid, idser| + @cd.get_feature("ids-text").each_char {|cid, idser| char = Character.get(cid) begin ids = idser.de_er # parse Entity Reference