def METHOD_NAME(d):
    noise2key = {}
    for k, z in d.items():
        for v in z:
            noises = [k]
            noises.append(v.get('name', []))
            noises.extend(v.get('option_strings', []))
            dash_to_space = [k.replace('-', ' ').replace('_', ' ') for k in noises]
            no_dash = [k.replace('-', '').replace('_', '') for k in noises]
            no_leading_dash = [k.replace('--', '') for k in noises]
            noises.extend(dash_to_space)
            noises.extend(no_dash)
            noises.extend(no_leading_dash)
            no_ending_plural = [k[:-1] if k.endswith('s') else k for k in noises]
            noises.extend(no_ending_plural)
            for kk in set(noises):
                noise2key[kk] = k
    return noise2key