references = [_split_compound_word(reference) for reference in references]
translation = _split_compound_word(translation)
if lower_case:
references = [list(map(str.lower, reference)) for reference in references]
translation = list(map(str.lower, translation))
trans_len = len(translation)
trans_length += trans_len
After Change
translation = _split_compound_word(translation)
if lower_case:
references = [[w.lower() for w in reference] for reference in references]
translation = [w.lower() for w in translation]
trans_len = len(translation)
trans_length += trans_len
ref_length += _closest_ref_length(references, trans_len)
for n in range(max_n):