<commit_before>package de.japkit.el.juel

import de.japkit.el.ELProvider
import de.japkit.el.ELProviderException
import de.japkit.el.ValueStack
import de.japkit.el.juel.JuelELProvider.ElContext
import de.japkit.services.ExtensionRegistry
import de.odysseus.el.ExpressionFactoryImpl
import de.odysseus.el.util.SimpleContext
import java.io.Writer
import java.net.URL
import javax.el.CompositeELResolver
import javax.el.ELContext
import javax.el.ELException
import javax.el.ExpressionFactory
import javax.el.FunctionMapper
import javax.el.PropertyNotFoundException

class JuelELProvider implements ELProvider {
	val ExpressionFactory ef = ExtensionRegistry.get(ExpressionFactory, [|new ExpressionFactoryImpl])
	
	static class ElContext extends SimpleContext {
		val FunctionMapper functionMapper 
		
		new(javax.el.ELResolver resolver, ValueStack contextMap) {
			super(resolver)			<commit_msg>minor refactoring - less JUEL dependencies<commit_after>package de.japkit.el.juel

import de.japkit.el.ELProvider
import de.japkit.el.ELProviderException
import de.japkit.el.ValueStack
import de.japkit.el.juel.JuelELProvider.ElContext
import de.japkit.services.ExtensionRegistry
import de.odysseus.el.util.SimpleContext
import java.io.Writer
import java.net.URL
import javax.el.CompositeELResolver
import javax.el.ELContext
import javax.el.ELException
import javax.el.ExpressionFactory
import javax.el.FunctionMapper
import javax.el.PropertyNotFoundException

class JuelELProvider implements ELProvider {
	val ExpressionFactory ef = ExtensionRegistry.get(ExpressionFactory, [| ExpressionFactory.newInstance])
	
	static class ElContext extends SimpleContext {
		val FunctionMapper functionMapper 
		
		new(javax.el.ELResolver resolver, ValueStack contextMap) {
			super(resolver)			
{'fraction_non_alphanumeric': 0.0716704288939052, 'fraction_numerical': 0.0, 'mean_word_length': 6.063745019920319, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1564224', 'n_tokens_mistral': 544, 'n_tokens_neox': 521, 'n_words': 111}