<commit_before>package com.bbn.bue.common.collections;

import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import com.google.common.collect.Ordering;

import java.util.Comparator;
import java.util.Map;

import javax.annotation.Nullable;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Guava's {@link com.google.common.collect.ImmutableMap.Builder} disallows adding the same key
 * twice, even with the same value. In many situations this is inconvenient, so this interface
 * i sthe parent of builders which relax this constraint in various ways.
 * See
 * {@link MapUtils#immutableMapBuilderAllowingSameEntryTwice()},
 * {@link MapUtils#immutableMapBuilderIgnoringDuplicates()}, and
 * {@link MapUtils#immutableMapBuilderResolvingDuplicatesBy(Comparator)}.
 *
 *<commit_msg>Typo in comment<commit_after>package com.bbn.bue.common.collections;

import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import com.google.common.collect.Ordering;

import java.util.Comparator;
import java.util.Map;

import javax.annotation.Nullable;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Guava's {@link com.google.common.collect.ImmutableMap.Builder} disallows adding the same key
 * twice, even with the same value. In many situations this is inconvenient, so this interface
 * is the parent of builders which relax this constraint in various ways.
 * See
 * {@link MapUtils#immutableMapBuilderAllowingSameEntryTwice()},
 * {@link MapUtils#immutableMapBuilderIgnoringDuplicates()}, and
 * {@link MapUtils#immutableMapBuilderResolvingDuplicatesBy(Comparator)}.
 *
 *
{'fraction_non_alphanumeric': 0.10067873303167421, 'fraction_numerical': 0.0, 'mean_word_length': 5.992094861660079, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3877380', 'n_tokens_mistral': 519, 'n_tokens_neox': 518, 'n_words': 126}