<commit_before>#!/usr/bin/env ruby
# encoding: utf-8

require 'wikipedia'

p Wikipedia::article 'Pareidolia', :es<commit_msg>there's a new way of changing lang<commit_after>#!/usr/bin/env ruby
# encoding: utf-8

require 'wikipedia'

# changing default language
Wikipedia::API::language = :es

Wikipedia::article 'Pareidolia'
{'fraction_non_alphanumeric': 0.13580246913580246, 'fraction_numerical': 0.006172839506172839, 'mean_word_length': 6.222222222222222, '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': '2093747', 'n_tokens_mistral': 115, 'n_tokens_neox': 107, 'n_words': 28}