<commit_before>require 'ua-utils/user_agent'
require 'ua-utils/operating_system'

module UaUtils

  VERSION = '0.3.1'

  def self.logger
    @logger ||= (rails_logger || default_logger)
  end

  def self.default_logger
    require 'logger'
    l = Logger.new(STDOUT)
    l.level = Logger::INFO
    l
  end

  def self.logger=(logger)
    @logger = logger
  end

end<commit_msg>Update readme file<commit_after>require 'ua-utils/user_agent'
require 'ua-utils/operating_system'

module UaUtils

  VERSION = '0.3.2'

  def self.logger
    @logger ||= (rails_logger || default_logger)
  end

  def self.default_logger
    require 'logger'
    l = Logger.new(STDOUT)
    l.level = Logger::INFO
    l
  end

  def self.logger=(logger)
    @logger = logger
  end

end
{'fraction_non_alphanumeric': 0.11067193675889328, 'fraction_numerical': 0.007905138339920948, 'mean_word_length': 3.1530054644808745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6669243', 'n_tokens_mistral': 282, 'n_tokens_neox': 267, 'n_words': 61}