<commit_before>require 'supplier_util'

class AlltronUtil < SupplierUtil
  
  def self.category_string_cmd(file_name)
     "more +2 #{file_name} | cut -f 18-20 | sort -n | uniq"
  end
  
  def self.data_directory
    return Rails.root + "lib"<commit_msg>Strip blank lines from category string cmd output.<commit_after>require 'supplier_util'

class AlltronUtil < SupplierUtil
  
  def self.category_string_cmd(file_name)
     "more +2 #{file_name} | cut -f 18-20 | sort -n | uniq | egrep -v '^[[:space:]]*$|^#'"
  end
  
  def self.data_directory
    return Rails.root + "lib"
{'fraction_non_alphanumeric': 0.11979166666666667, 'fraction_numerical': 0.017361111111111112, 'mean_word_length': 3.7295081967213113, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3905601', 'n_tokens_mistral': 216, 'n_tokens_neox': 206, 'n_words': 53}