<commit_before># encoding: utf-8

require 'i18n_generator/label'

module I18nGenerator
  ##
  # Responsible for processing a list of Labels for output
  # and writing them to output files
  class LabelWriter

    FILENAME_PREFIX = "labels_"

    FILE_HEADER_TEXT = <<-HEADER
  # THIS FILE IS GENERATED - PLEASE DO NOT EDIT (https://github.com/rulefinancial/i18n_generator)
    HEADER<commit_msg>Remove indentation from file header heredoc<commit_after># encoding: utf-8

require 'i18n_generator/label'

module I18nGenerator
  ##
  # Responsible for processing a list of Labels for output
  # and writing them to output files
  class LabelWriter

    FILENAME_PREFIX = "labels_"

    FILE_HEADER_TEXT = <<-HEADER
# THIS FILE IS GENERATED - PLEASE DO NOT EDIT (https://github.com/rulefinancial/i18n_generator)
    HEADER
{'fraction_non_alphanumeric': 0.07334963325183375, 'fraction_numerical': 0.017114914425427872, 'mean_word_length': 4.055555555555555, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1864474', 'n_tokens_mistral': 268, 'n_tokens_neox': 242, 'n_words': 80}