相異なる文の種類の数(Rubyの場合)
ary = Array.new File.open("../data_c.txt","r"){|f| f.each{|line| line.chomp! !="" && ary << line } } p (ary|ary).size
Rubyみじかっ
ary = Array.new File.open("../data_c.txt","r"){|f| f.each{|line| line.chomp! !="" && ary << line } } p (ary|ary).size
Rubyみじかっ