<commit_before>#!/usr/bin/env ruby

require "rbconfig"
require "fileutils"

option = {:noop => false, :verbose => true}

dlldir      = Config::CONFIG["bindir"]
sitearchdir = Config::CONFIG["sitearchdir"]

FileUtils.mkdir_p(dlldir)
FileUtils.mkdir_p(sitearchdir)

Dir["dll/*.dll"] do |path|
  if path =~ /zlib/
    next if File.exist?(File.join(dlldir, File.basename(path)))
  end
  FileUtils.install(path, dlldir, option)
end
Dir["ext/*.so"] {|path| FileUtils.install(path, sitearchdir, option)}

puts "Installation Star Ruby completed!"<commit_msg>Modified install.rb<commit_after>#!/usr/bin/env ruby

require "rbconfig"
require "fileutils"

option = {:noop => false, :verbose => true}

dlldir      = Config::CONFIG["bindir"]
sitearchdir = Config::CONFIG["sitearchdir"]

FileUtils.mkdir_p(dlldir)
FileUtils.mkdir_p(sitearchdir)

Dir.glob("dll/*.dll") do |path|
  if path =~ /zlib/
    next if File.exist?(File.join(dlldir, File.basename(path)))
  end
  FileUtils.install(path, dlldir, option)
end
Dir.glob("ext/*.so") {|path| FileUtils.install(path, sitearchdir, option)}

puts "Installation Star Ruby completed!"
{'fraction_non_alphanumeric': 0.16427289048473967, 'fraction_numerical': 0.0, 'mean_word_length': 5.445086705202312, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7173787', 'n_tokens_mistral': 418, 'n_tokens_neox': 403, 'n_words': 84}