<commit_before>/******************************************************************
 * File:        Temp.java
 * Created by:  <NAME>
 * Created on:  29 Nov 2013
 * 
 * (c) Copyright 2013, Epimorphics Limited
 *
 *****************************************************************/

package com.epimorphics.dclib.framework;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;

import org.apache.commons.jexl2.Expression;
import org.apache.commons.jexl2.JexlEngine;
import org.apache.commons.jexl2.MapContext;
import org.apache.jena.atlas.json.JSON;
import org.apache.jena.atlas.json.JsonObject;

import com.epimorphics.dclib.framework.TestConverterProcess.TestTemplate;
import com.epimorphics.dclib.templates.ResourceMapTemplate;
import com.epimorphics.dclib.templates.TemplateFactory;
import com.epimorphics.dclib.values.Row;
import com.epimorphics.tasks.ProgressMonitor;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.util.FileManager;

/**
 * Playpen used for experiments
 * 
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */
public class Temp {

    public void testJexl() {
        JexlEngine engine = new JexlEngine();
        
        Map<String, Object> values = new HashMap<String, Object>();
        values.put("a", 12);
        values.put("b", "abcde");
        values.put("c", new Test());
        values.put("$row", new Row(42));
        <commit_msg>Trivial tidy<commit_after>/******************************************************************
 * File:        Temp.java
 * Created by:  <NAME>
 * Created on:  29 Nov 2013
 * 
 * (c) Copyright 2013, Epimorphics Limited
 *
 *****************************************************************/

package com.epimorphics.dclib.framework;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

import org.apache.commons.jexl2.Expression;
import org.apache.commons.jexl2.JexlEngine;
import org.apache.commons.jexl2.MapContext;

import com.epimorphics.dclib.values.Row;
import com.hp.hpl.jena.rdf.model.Model;

/**
 * Playpen used for experiments
 * 
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */
public class Temp {

    public void testJexl() {
        JexlEngine engine = new JexlEngine();
        
        Map<String, Object> values = new HashMap<String, Object>();
        values.put("a", 12);
        values.put("b", "abcde");
        values.put("c", new Test());
        values.put("$row", new Row(42));
        
{'fraction_non_alphanumeric': 0.22924901185770752, 'fraction_numerical': 0.013438735177865613, 'mean_word_length': 4.04183266932271, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '7147035', 'n_tokens_mistral': 828, 'n_tokens_neox': 786, 'n_words': 155}