<commit_before><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:fb="http://www.gribuser.ru/xml/fictionbook/2.0" 
	xmlns:rupor="fb2mobi_ns" extension-element-prefixes="rupor" 
	exclude-result-prefixes="fb">

	<xsl:output method="xml" encoding="UTF-8" indent="no"/>

	<xsl:template match="node()|@*">
		<xsl:copy>
			<xsl:apply-templates select="node()|@*"/>
		</xsl:copy>
	</xsl:template>

	<xsl:template match="fb:p[starts-with(.,'‐') or starts-with(.,'‑') or starts-with(.,'−') or starts-with(.,'–') or starts-with(.,'—') or starts-with(.,'―')]">
		<rupor:katz_tr>–&#8198;</rupor:katz_tr>
	</xsl:template>

</xsl:stylesheet><commit_msg>Added U+2026 "Horizontal Ellipsis" to direct speech transformation<commit_after><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:fb="http://www.gribuser.ru/xml/fictionbook/2.0" 
	xmlns:rupor="fb2mobi_ns" extension-element-prefixes="rupor" 
	exclude-result-prefixes="fb">

	<xsl:output method="xml" encoding="UTF-8" indent="no"/>

	<xsl:template match="node()|@*">
		<xsl:copy>
			<xsl:apply-templates select="node()|@*"/>
		</xsl:copy>
	</xsl:template>                                                                                                                                              

	<xsl:template match="fb:p[starts-with(.,'‐') or starts-with(.,'‑') or starts-with(.,'−') or starts-with(.,'–') or starts-with(.,'—') or starts-with(.,'―') or starts-with(.,'…')]">
		<rupor:katz_tr>–&#8198;</rupor:katz_tr>
	</xsl:template>

</xsl:stylesheet>
{'fraction_non_alphanumeric': 0.23226197695573075, 'fraction_numerical': 0.02425712553062462, 'mean_word_length': 3.5580110497237567, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 2, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6734382', 'n_tokens_mistral': 676, 'n_tokens_neox': 612, 'n_words': 80}