def _build_dict(string):
    """Return a dictionary containing the occurrence of each alphanumeric, case-insensitive, char."""
    occurrences = dict()
    for char in string:
        if char.isalnum():
            char = char.casefold()
            occurrences[char] = occurrences.get(char, 0) + 1
    return occurrences