<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">

	<!-- Parser -->
	
	<bean id="httpClientFactory" class="com.cee.news.parser.net.impl.DefaultHttpClientFactory" />
	
	<bean id="webClient" class="com.cee.news.parser.net.impl.DefaultWebClient" scope="prototype">
		<property name="httpClientFactory" ref="httpClientFactory" />
		<property name="readerFactory">
			<bean class="com.cee.news.parser.net.impl.XmlStreamReaderFactory" />
		</property>
	</bean>
	
	<bean id="htmlParser" class="org.ccil.cowan.tagsoup.Parser" scope="prototype"/>
	
	<bean id="articleParser" class="com.cee.news.parser.impl.BoilerpipeArticleParser" scope="prototype">
		<property name="webClient" ref="webClient" />
		<property name="reader" ref="htmlParser"/>
		<property name="filters">
			<list>
				<bean class="com.cee.news.parser.impl.MinWordCountArticleFilter">
					<property name="minWordCount" value="30" />
				</bean>
			</list>
		</property>
	</bean>
	
	<bean id="feedParser" class="com.cee.news.parser.impl.RomeFeedParser" scope="prototype">
		<property name="webClient" ref="webClient" />
	</bean>

	<bean id="siteUpdater" class="com.cee.news.parser.SiteUpdater" scope="prototype"><commit_msg>ASSIGNED - # 286: Short text from feed item description must not contain HTML  http://www.andreasbehnke.com/mantis/view.php?id=286<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">

	<!-- Parser -->
	
	<bean id="httpClientFactory" class="com.cee.news.parser.net.impl.DefaultHttpClientFactory" />
	
	<bean id="webClient" class="com.cee.news.parser.net.impl.DefaultWebClient" scope="prototype">
		<property name="httpClientFactory" ref="httpClientFactory" />
		<property name="readerFactory">
			<bean class="com.cee.news.parser.net.impl.XmlStreamReaderFactory" />
		</property>
	</bean>
	
	<bean id="htmlParser" class="org.ccil.cowan.tagsoup.Parser" scope="prototype"/>
	
	<bean id="articleParser" class="com.cee.news.parser.impl.BoilerpipeArticleParser" scope="prototype">
		<property name="webClient" ref="webClient" />
		<property name="reader" ref="htmlParser"/>
		<property name="filters">
			<list>
				<bean class="com.cee.news.parser.impl.MinWordCountArticleFilter">
					<property name="minWordCount" value="30" />
				</bean>
			</list>
		</property>
	</bean>
	
	<bean id="feedParser" class="com.cee.news.parser.impl.RomeFeedParser" scope="prototype">
		<property name="webClient" ref="webClient" />
		<property name="xmlReader" ref="htmlParser" />
	</bean>

	<bean id="siteUpdater" class="com.cee.news.parser.SiteUpdater" scope="prototype">
{'fraction_non_alphanumeric': 0.18263473053892215, 'fraction_numerical': 0.010179640718562874, 'mean_word_length': 5.339658444022771, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 2, '>': 56, 'https://': 0, 'lorem ipsum': 0, 'www.': 15, 'xml': 9}, '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': '8188', 'n_tokens_mistral': 1198, 'n_tokens_neox': 1101, 'n_words': 146}