<commit_before><?php
/**
 * Provides functionality for XML files
 * 
 * This class is implemented to use the UTF-8 character encoding. Please see
 * {@link http://flourishlib.com/docs/UTF-8} for more information.
 * 
 * @copyright  Copyright (c) 2007-2008 <NAME>
 * @author     <NAME> [wb] <<EMAIL>>
 * @license    http://flourishlib.com/license
 * 
 * @package    Flourish
 * @link       http://flourishlib.com/fXML
 * 
 * @version    1.0.0b
 * @changes    1.0.0b  The initial implementation [wb, 2008-01-13]
 */
class fXML
{
	/**
	 * Prepares content for display in a UTF-8 encoded XML document
	 * 
	 * @param  string $content  The content to prepare
	 * @return string  The encoded xml
	 */
	static public function prepare($content)<commit_msg>BackwardsCompatibilityBreak - fXML::prepare() was renamed to fXML::encode()<commit_after><?php
/**
 * Provides functionality for XML files
 * 
 * This class is implemented to use the UTF-8 character encoding. Please see
 * {@link http://flourishlib.com/docs/UTF-8} for more information.
 * 
 * @copyright  Copyright (c) 2007-2008 <NAME>
 * @author     <NAME> [wb] <<EMAIL>>
 * @license    http://flourishlib.com/license
 * 
 * @package    Flourish
 * @link       http://flourishlib.com/fXML
 * 
 * @version    1.0.0b
 * @changes    1.0.0b  The initial implementation [wb, 2008-01-13]
 */
class fXML
{
	/**
	 * Encodes content for display in a UTF-8 encoded XML document
	 * 
	 * @param  string $content  The content to encode
	 * @return string  The encoded content
	 */
	static public function encode($content)
{'fraction_non_alphanumeric': 0.12508017960230916, 'fraction_numerical': 0.03207184092366902, 'mean_word_length': 3.126984126984127, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '3168335', 'n_tokens_mistral': 534, 'n_tokens_neox': 483, 'n_words': 154}