<commit_before># = active_rdf.rb.rb
# Loader of ActiveRDF library
# ----
# Project	: SemperWiki
#
# See		: www.semperwiki.org
#
# Author	: <NAME>, <NAME>
#
# Mail		: first dot last at deri dot org
#
# (c) 2005-2006

# We add the active_rdf subdirectory to the LOAD_PATH
if File.symlink?(__FILE__)
    $: << File.dirname(File.expand_path(File.readlink(__FILE__))) + '/src'
    $: << File.dirname(File.expand_path(File.readlink(__FILE__))) + '/src/lib'
else
    $: << File.dirname(File.expand_path(__FILE__)) + '/src'
    $: << File.dirname(File.expand_path(__FILE__)) + '/src/lib'
end

# Load Module Class modification for true abstract class
require 'misc/abstract_class'

# Start the logger
require 'logger'

$logger = Logger.new('/tmp/activerdf.log') if $logger.nil?
$logger.level = Logger::DEBUG<commit_msg>Added load of common uri<commit_after># = active_rdf.rb.rb
# Loader of ActiveRDF library
# ----
# Project	: SemperWiki
#
# See		: www.semperwiki.org
#
# Author	: <NAME>, <NAME>
#
# Mail		: first dot last at deri dot org
#
# (c) 2005-2006

# We add the active_rdf subdirectory to the LOAD_PATH
if File.symlink?(__FILE__)
    $: << File.dirname(File.expand_path(File.readlink(__FILE__))) + '/src'
    $: << File.dirname(File.expand_path(File.readlink(__FILE__))) + '/src/lib'
else
    $: << File.dirname(File.expand_path(__FILE__)) + '/src'
    $: << File.dirname(File.expand_path(__FILE__)) + '/src/lib'
end

# Load Module Class modification for true abstract class
require 'misc/abstract_class'

# Load common uri in NamespaceFactory
require 'namespace_factory'
NamespaceFactory.load_namespaces

# Start the logger
require 'logger'

$logger = Logger.new('/tmp/activerdf.log') if $logger.nil?
$logger.level = Logger::DEBUG
{'fraction_non_alphanumeric': 0.15251299826689774, 'fraction_numerical': 0.00924321201617562, 'mean_word_length': 4.4125, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1011180', 'n_tokens_mistral': 628, 'n_tokens_neox': 601, 'n_words': 139}