<commit_before>package uk.ac.ebi.quickgo.annotation.service.statistics;

/**
 * A source of {@link RequiredStatistics} instances.
 *
 * @author <NAME>
 * Date: 19/12/2017
 * Time: 11:04
 * Created with IntelliJ IDEA.
 */
public class RequiredStatisticsProvider {

    final RequiredStatistics usualCase;
    final RequiredStatistics withGeneProduct;

    public RequiredStatisticsProvider(StatisticsTypeConfigurer statsConfigurer) {
        usualCase = new RequiredStatistics(statsConfigurer);
        withGeneProduct = new RequiredStatisticsWithGeneProduct(statsConfigurer);
    }
}<commit_msg>Hold all the cases fo the RequiredStatistics.<commit_after>package uk.ac.ebi.quickgo.annotation.service.statistics;

import java.util.Map;


/**
 * A source of {@link RequiredStatistics} instances.
 *
 * @author <NAME>
 * Date: 19/12/2017
 * Time: 11:04
 * Created with IntelliJ IDEA.
 */
public class RequiredStatisticsProvider {

    final RequiredStatistics usualCase;
    final RequiredStatistics usualCaseForDownload;
    final RequiredStatistics withGeneProduct;
    final RequiredStatistics withGeneProductForDownload;

    public RequiredStatisticsProvider(Map<String, Integer> usualProperties, Map<String, Integer> downLoadProperties) {
        StatisticsTypeConfigurer usualConfigurer = new StatisticsTypeConfigurer(usualProperties);
        StatisticsTypeConfigurer downloadConfigurer = new StatisticsTypeConfigurer(downLoadProperties);
        usualCase = new RequiredStatistics(usualConfigurer);
        usualCaseForDownload = new RequiredStatistics(downloadConfigurer);
        withGeneProduct = new RequiredStatisticsWithGeneProduct(usualConfigurer);
        withGeneProductForDownload = new RequiredStatistics(downloadConfigurer);
    }
}
{'fraction_non_alphanumeric': 0.07375643224699828, 'fraction_numerical': 0.0137221269296741, 'mean_word_length': 5.076388888888889, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3962715', 'n_tokens_mistral': 462, 'n_tokens_neox': 423, 'n_words': 104}