<commit_before>package christopherson.eric;

import org.jruby.embed.jsr223.JRubyEngineFactory;

import com.townsfolkdesigns.jedit.plugins.scripting.ScriptEngineService;

import org.gjt.sp.jedit.EditPlugin;
import org.gjt.sp.jedit.Mode;
import org.gjt.sp.jedit.jEdit;

/**
 * The JRubyScriptEnginePlugin provides the Groovy ScriptEngine to jEdit plugins.
 * @author <NAME> (<EMAIL>)
 */
public class JRubyScriptEnginePlugin extends EditPlugin implements ScriptEngineService {
   private JRubyEngineFactory factory = new JRubyEngineFactory();

   public Class getEngineFactoryClass() {
      return factory.getClass();
   }

   public Mode getMode() {
      return jEdit.getMode("ruby");
   }

   @Override<commit_msg>corrected comment: Groovy -> JRuby<commit_after>package christopherson.eric;

import org.jruby.embed.jsr223.JRubyEngineFactory;

import com.townsfolkdesigns.jedit.plugins.scripting.ScriptEngineService;

import org.gjt.sp.jedit.EditPlugin;
import org.gjt.sp.jedit.Mode;
import org.gjt.sp.jedit.jEdit;

/**
 * The JRubyScriptEnginePlugin provides the Ruby ScriptEngine to jEdit plugins.
 * @author <NAME> (<EMAIL>)
 */
public class JRubyScriptEnginePlugin extends EditPlugin implements ScriptEngineService {
   private JRubyEngineFactory factory = new JRubyEngineFactory();

   public Class getEngineFactoryClass() {
      return factory.getClass();
   }

   public Mode getMode() {
      return jEdit.getMode("ruby");
   }

   @Override
{'fraction_non_alphanumeric': 0.09855272226051, 'fraction_numerical': 0.004135079255685734, 'mean_word_length': 4.761904761904762, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '5147143', 'n_tokens_mistral': 485, 'n_tokens_neox': 436, 'n_words': 96}