<commit_before>package edu.cmu.sphinx.decoder;

import edu.cmu.sphinx.result.ResultListener;

/**
 * Some API-elements shared by components which are able to produce <code>Result</code>s.
 *
 * @see edu.cmu.sphinx.result.Result
 */
public interface ResultProducer {

    /** Registers a new listener for <code>Result</code>-notifications */
    void addResultListener(ResultListener resultListener);


    /** Removs a listener from this <code>ResultProducer</code>-instance. */
    void removeResultListener(ResultListener resultListener);
}
<commit_msg>fixed typos; interface was changed to extend Configurable<commit_after>package edu.cmu.sphinx.decoder;

import edu.cmu.sphinx.result.ResultListener;
import edu.cmu.sphinx.util.props.Configurable;

/**
 * Some API-elements shared by components which are able to produce <code>Result</code>s.
 *
 * @see edu.cmu.sphinx.result.Result
 */
public interface ResultProducer extends Configurable {

    /** Registers a new listener for <code>Result</code>. */
    void addResultListener(ResultListener resultListener);


    /** Removes a listener from this <code>ResultProducer</code>-instance. */
    void removeResultListener(ResultListener resultListener);
}

{'fraction_non_alphanumeric': 0.10991735537190082, 'fraction_numerical': 0.0, 'mean_word_length': 4.632558139534884, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '132734', 'n_tokens_mistral': 363, 'n_tokens_neox': 351, 'n_words': 87}