<commit_before>begin
  require 'rubygems'
rescue LoadError
end

require 'ffi/dry'
require 'ffi/packets'

module FFI
  module PCap
    extend FFI::Library

    ffi_lib "libpcap"
  end
end

require 'pcap-ffi/version'

require 'pcap-ffi/typedefs'

require 'pcap-ffi/bsd'
require 'pcap-ffi/addr'
require 'pcap-ffi/interface'
require 'pcap-ffi/file_header'
require 'pcap-ffi/time_val'
require 'pcap-ffi/packet_header'
require 'pcap-ffi/stat'
require 'pcap-ffi/bpf'
require 'pcap-ffi/dumper'
require 'pcap-ffi/error_buffer'

require 'pcap-ffi/functions'

require 'pcap-ffi/data_link'
require 'pcap-ffi/packet'
require 'pcap-ffi/handler'
<commit_msg>add exceptions require and organize reqs<commit_after>begin
  require 'rubygems'
rescue LoadError
end

require 'ffi/dry'
require 'ffi/packets'

module FFI
  module PCap
    extend FFI::Library

    ffi_lib "libpcap"
  end
end

require 'pcap-ffi/version'
require 'pcap-ffi/exceptions'

# FFI typedefs, pointer wrappers, and struct
require 'pcap-ffi/typedefs'
require 'pcap-ffi/bsd'
require 'pcap-ffi/addr'
require 'pcap-ffi/interface'
require 'pcap-ffi/file_header'
require 'pcap-ffi/time_val'
require 'pcap-ffi/packet_header'
require 'pcap-ffi/stat'
require 'pcap-ffi/bpf'
require 'pcap-ffi/dumper'

# Ruby FFI function bindings, sugar, and misc wrappers
require 'pcap-ffi/error_buffer'
require 'pcap-ffi/functions'
require 'pcap-ffi/data_link'
require 'pcap-ffi/packet'
require 'pcap-ffi/handler'

{'fraction_non_alphanumeric': 0.11658570437196392, 'fraction_numerical': 0.0, 'mean_word_length': 5.008333333333334, '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': '7271052', 'n_tokens_mistral': 596, 'n_tokens_neox': 583, 'n_words': 125}