def process_line(line):
    """Return the structure frequencies for a line of STRIDE data."""
    result = {}
    for structure in line.split():
        result[structure] = result.get(structure, 0) + 1
    return result