<commit_before>module Tabula
  PDFBOX = 'pdfbox-app-2.0.0-SNAPSHOT.jar'
end

require_relative './tabula/version'
require_relative './tabula/entities'
require_relative './tabula/pdf_dump'
require_relative './tabula/pdf_line_extractor'
require_relative './tabula/table_extractor'
require_relative './tabula/writers'
require_relative './tabula/table_guesser'
require_relative './tabula/line_segment_detector'
require_relative './tabula/pdf_render'
#require_relative './tabula/whitespace'<commit_msg>suppress those goddamn INFO logs from pdfbox #killthemwithfire<commit_after>module Tabula
  PDFBOX = 'pdfbox-app-2.0.0-SNAPSHOT.jar'
end


import 'java.util.logging.LogManager'
import 'java.util.logging.Level'

lm = LogManager.log_manager
lm.logger_names.each do |name|
  if name == "" #rootlogger is apparently the logger PDFBox is talking to.
    l = lm.get_logger(name)
    l.level = Level::OFF
    l.handlers.each do |h|
      h.level = Level::OFF
    end
  end
end


require_relative './tabula/version'
require_relative './tabula/entities'
require_relative './tabula/pdf_dump'
require_relative './tabula/pdf_line_extractor'
require_relative './tabula/table_extractor'
require_relative './tabula/writers'
require_relative './tabula/table_guesser'
require_relative './tabula/line_segment_detector'
require_relative './tabula/pdf_render'
#require_relative './tabula/whitespace'
{'fraction_non_alphanumeric': 0.12, 'fraction_numerical': 0.004363636363636364, 'mean_word_length': 5.28310502283105, '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': '2916383', 'n_tokens_mistral': 459, 'n_tokens_neox': 457, 'n_words': 88}