<commit_before>module StaticPagesHelper
	
	def run_translation(code_original)
		translator = MicrosoftTranslator::Client.new('GitATranslation', 'cwzLCkrF5eAIejqfZn8zx/QkDBESQMzo/OO/gzBRGtU=')
		code_translated = code_original
		code_original.split(/(#(.*)\n)|("""(.*)""")/).each do |x|
			if x[0] == "#"
				language = translator.detect(x)
				translated = translator.translate(x,language,"es","text/html") + "\n"
				code_translated.gsub!(x, translated)
			elsif x.include? "\"\"\""
				x.gsub!("\"\"\"", "")
				language = translator.detect(x)
				translated = translator.translate(x,language,"es","text/html")
				code_translated.gsub!(x, translated)
			end
		end
		code_translated
	end
end<commit_msg>Add hashtag<commit_after>module StaticPagesHelper
	
	def run_translation(code_original)
		translator = MicrosoftTranslator::Client.new('GitATranslation', 'cwzLCkrF5eAIejqfZn8zx/QkDBESQMzo/OO/gzBRGtU=')
		code_translated = code_original
		code_original.split(/(#(.*)\n)|("""(.*)""")/).each do |x|
			if x[0] == "#"
				language = translator.detect(x)
				translated = "#" + translator.translate(x,language,"es","text/html") + "\n"
				code_translated.gsub!(x, translated)
			elsif x.include? "\"\"\""
				x.gsub!("\"\"\"", "")
				language = translator.detect(x)
				translated = translator.translate(x,language,"es","text/html")
				code_translated.gsub!(x, translated)
			end
		end
		code_translated
	end
end
{'fraction_non_alphanumeric': 0.18387553041018387, 'fraction_numerical': 0.004243281471004243, 'mean_word_length': 4.615079365079365, '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': '1060446', 'n_tokens_mistral': 609, 'n_tokens_neox': 507, 'n_words': 70}