<commit_before>package de.lmu.ifi.dbs.elki.preprocessing;

import de.lmu.ifi.dbs.elki.data.DatabaseObject;
import de.lmu.ifi.dbs.elki.database.Database;
import de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable;

/**
 * Defines the requirements for classes that do some preprocessing steps for
 * objects of a certain database.
 *
 * @author <NAME> (
 * @param <O> Object type
 */
public interface Preprocessor<O extends DatabaseObject> extends Parameterizable {
  /**
   * This method executes the actual preprocessing step of this Preprocessor
   * for the objects of the specified database.
   *
   * @param database the database for which the preprocessing is performed
   * @param verbose  flag to allow verbose messages while performing the algorithm
   * @param time     flag to request output of performance time
   */
  void run(Database<O> database, boolean verbose, boolean time);
}<commit_msg>minor correction in comment<commit_after>package de.lmu.ifi.dbs.elki.preprocessing;

import de.lmu.ifi.dbs.elki.data.DatabaseObject;
import de.lmu.ifi.dbs.elki.database.Database;
import de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable;

/**
 * Defines the requirements for classes that do some preprocessing steps for
 * objects of a certain database.
 *
 * @author <NAME>
 * @param <O> Object type
 */
public interface Preprocessor<O extends DatabaseObject> extends Parameterizable {
  /**
   * This method executes the actual preprocessing step of this Preprocessor
   * for the objects of the specified database.
   *
   * @param database the database for which the preprocessing is performed
   * @param verbose  flag to allow verbose messages while performing the algorithm
   * @param time     flag to request output of performance time
   */
  void run(Database<O> database, boolean verbose, boolean time);
}
{'fraction_non_alphanumeric': 0.08089033659066232, 'fraction_numerical': 0.0, 'mean_word_length': 4.191549295774648, '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': '5932776', 'n_tokens_mistral': 514, 'n_tokens_neox': 501, 'n_words': 185}