def parse_noun_line(line):
    """
    For a Leo dictionary noun entry line:

        (aktive) Langzeitverbindung {f}

    returns a list of the form:

        ['Langzeitverbindung', 'f']
    """
    gender_start = line.find('{') + 1
    gender_end = line.find('}')
    word_end = line.find('{') - 1
    paren_end = line.find(')')
    word_start = paren_end + 2 if paren_end > -1 else 0
    word = line[word_start:word_end]
    gender = line[gender_start:gender_end]
    return [word, gender]