<commit_before>############################################################################
## 
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 
## All rights reserved. 
## Contact: Nokia Corporation (<EMAIL>) 
## 
## This file is part of Testability Driver. 
## 
## If you have questions regarding the use of this file, please contact 
## Nokia at <EMAIL> . 
## 
## This library is free software; you can redistribute it and/or 
## modify it under the terms of the GNU Lesser General Public 
## License version 2.1 as published by the Free Software Foundation 
## and appearing in the file LICENSE.LGPL included in the packaging 
## of this file. 
## 
############################################################################


file, line = caller.first.split(":")
$stdout.puts "%s:%s warning: require 'matti' deprecated, use require 'tdriver' instead also 'MATTI' is deprecated, use 'TDriver' instead " % [ file, line]

# load matti resources and framework
require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdriver/env' ) )
require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdriver/version' ) )
require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdriver/matti' ) )
<commit_msg>warning message changed when required with old gem name<commit_after>############################################################################
## 
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 
## All rights reserved. 
## Contact: Nokia Corporation (<EMAIL>) 
## 
## This file is part of Testability Driver. 
## 
## If you have questions regarding the use of this file, please contact 
## Nokia at <EMAIL> . 
## 
## This library is free software; you can redistribute it and/or 
## modify it under the terms of the GNU Lesser General Public 
## License version 2.1 as published by the Free Software Foundation 
## and appearing in the file LICENSE.LGPL included in the packaging 
## of this file. 
## 
############################################################################

=begin
file, line = ( caller.first || "%s:%s" % [ __FILE__, __LINE__ ] ).split(":")
$stdout.puts "%s:%s warning: require 'matti' deprecated, use require 'tdriver' instead also 'MATTI' is deprecated, use 'TDriver' instead " % [ file, line]
=end

$stdout.puts "%s:%s warning: require 'matti' deprecated, use require 'tdriver' instead. Please note that class 'MATTI' is also deprecated, use 'TDriver' instead " % ( caller.first || "%s:%s" % [ __FILE__, __LINE__ ] ).split(":")[ 0..1 ]

# load matti resources and framework
require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdriver/env' ) )
require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdriver/version' ) )
require File.expand_path( File.join( File.dirname( __FILE__ ), 'tdriver/matti' ) )

{'fraction_non_alphanumeric': 0.2202908832919475, 'fraction_numerical': 0.004966300106420717, 'mean_word_length': 5.038543897216274, 'pattern_counts': {'":': 3, '<': 7, '<?xml version=': 0, '>': 7, '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': '706021', 'n_tokens_mistral': 812, 'n_tokens_neox': 767, 'n_words': 295}