<commit_before>﻿using System;
using System.Collections.Concurrent;
using System.Reflection;

namespace Natasha
{
    public class ClassBuilder
    {
        public static ConcurrentDictionary<string, Assembly> ClassScriptMapping;
        static ClassBuilder()
        {
            ClassScriptMapping = new ConcurrentDictionary<string, Assembly>();
        }
        public static Type GetType(string content)
        {
            Assembly assembly = null;
            string className = ScriptComplier.GetClassName(content);
            if (!ClassScriptMapping.ContainsKey(content))
            {
                assembly = ScriptComplier.Complier(content, className);
                ClassScriptMapping[content] = assembly;
            }
           
            return AssemblyOperator.Loader(assembly)[className];
        }
    }
}<commit_msg>Update ClassBuilder.cs<commit_after>﻿using System;
using System.Collections.Concurrent;
using System.Reflection;

namespace Natasha
{
    public class ClassBuilder
    {
        static ClassBuilder()
        {
            
        }
        public static Type GetType(string content)
        {
            Assembly assembly = null;
            string className = ScriptComplier.GetClassName(content);
            assembly = ScriptComplier.Complier(content, className);
            return AssemblyOperator.Loader(assembly)[className];
        }
    }
}
{'fraction_non_alphanumeric': 0.07582260371959942, 'fraction_numerical': 0.0, 'mean_word_length': 2.2534883720930234, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4084241', 'n_tokens_mistral': 322, 'n_tokens_neox': 318, 'n_words': 72}