<commit_before>module GlyphHelper
  def glyph(*args)
    glyph_label(:glyphicon, *args)
  end

  private
  def glyph_label(what, value, type = nil)
    klass = [what]
    klass << "#{what}-#{type}" #if type.present?
    content_tag :span, value, :class => "#{klass.join(' ')}"
  end
end<commit_msg>glyph helper added<commit_after>module GlyphHelper
  def glyph(*args)
    glyph_label(:glyphicon, *args)
  end

  private
  def glyph_label(what, value, type = nil)
    klass = [what]
    klass << "#{what}-#{value}" #if type.present?
    content_tag :span, nil, :class => "#{klass.join(' ')}"
  end
end
{'fraction_non_alphanumeric': 0.16333333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 3.886178861788618, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '785774', 'n_tokens_mistral': 220, 'n_tokens_neox': 216, 'n_words': 53}