<commit_before>module Decoder
  class Countries
    attr_accessor :countries
    
    def initialize
      self.load_yaml
    end
    
    def load_yaml
      self.countries = YAML.load_file(yaml_file_name)
    end
    
    def yaml_file_name
      "#{File.dirname(__FILE__)}/../i18n/countries/#{Decoder.i18n}.yml"
    end
    
    def [](_code)
      _code    = _code.to_s.upcase
      country = countries[_code]
      Decoder::Country.new(:code => _code, :name => country)
    end
    
    def self.[](_code)
      self.new[_code]
    end
  end
end<commit_msg>Fixed code spacing<commit_after>module Decoder
  class Countries
    attr_accessor :countries
    
    def initialize
      self.load_yaml
    end
    
    def load_yaml
      self.countries = YAML.load_file(yaml_file_name)
    end
    
    def yaml_file_name
      "#{File.dirname(__FILE__)}/../i18n/countries/#{Decoder.i18n}.yml"
    end
    
    def [](_code)
      _code   = _code.to_s.upcase
      country = countries[_code]
      Decoder::Country.new(:code => _code, :name => country)
    end
    
    def self.[](_code)
      self.new[_code]
    end
  end
end
{'fraction_non_alphanumeric': 0.10460992907801418, 'fraction_numerical': 0.0070921985815602835, 'mean_word_length': 2.2073863636363638, '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': '3713220', 'n_tokens_mistral': 404, 'n_tokens_neox': 394, 'n_words': 73}