<commit_before>package org.codehaus.modello.plugin;

/*
 * LICENSE
 */

import java.io.Reader;
import java.util.Properties;

import org.codehaus.modello.Model;
import org.codehaus.modello.ModelloException;

/**
 * @author <a href="mailto:<EMAIL>"><NAME>&oslash;l</a>
 * @version $Id$
 */
public interface ModelloTranslator
{
    Model translate( Reader reader, Properties parameters )
        throws ModelloException;
}
<commit_msg>Add translator method from Model<commit_after>package org.codehaus.modello.plugin;

/*
 * LICENSE
 */

import java.io.Reader;
import java.util.Properties;

import org.codehaus.modello.Model;
import org.codehaus.modello.ModelloException;

/**
 * @author <a href="mailto:<EMAIL>"><NAME>&oslash;l</a>
 * @version $Id$
 */
public interface ModelloTranslator
{
    Model translate( Reader reader, Properties parameters )
        throws ModelloException;

    void translate( Model model, Properties parameters )
        throws ModelloException;
}

{'fraction_non_alphanumeric': 0.12320328542094455, 'fraction_numerical': 0.0, 'mean_word_length': 4.446927374301676, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5741581', 'n_tokens_mistral': 307, 'n_tokens_neox': 300, 'n_words': 66}