<commit_before>#Methods concerning the parsing of spreadsheets

require 'simple-spreadsheet-extractor'
require 'libxml'

module SpreadsheetUtil
  
  include SpreadsheetRepresentation
  include SysMODB::SpreadsheetExtractor

  EXTRACTABLE_FILE_SIZE=0.25*1024*1024

  #is excel and is smaller than 10Mb<commit_msg>disabling all indexing of spreadsheet contents (problem doesnt appear to be a size issue)<commit_after>#Methods concerning the parsing of spreadsheets

require 'simple-spreadsheet-extractor'
require 'libxml'

module SpreadsheetUtil
  
  include SpreadsheetRepresentation
  include SysMODB::SpreadsheetExtractor

  EXTRACTABLE_FILE_SIZE=0#1*1024*1024

  #is excel and is smaller than 10Mb
{'fraction_non_alphanumeric': 0.05150214592274678, 'fraction_numerical': 0.0357653791130186, 'mean_word_length': 6.368421052631579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2561051', 'n_tokens_mistral': 238, 'n_tokens_neox': 197, 'n_words': 60}