def process_lines(file_reader, corpus_name:str)->list:
    """Strips and splits the lexicon lines.
    The case is kept intact for the 'switchboard' corpus, but is lowered for all others

    Args:
        file_reader: file reader object of lexicon
        corpus_name (str)
    Returns:
        (list): split lexicon lines
    """
    if corpus_name == 'switchboard':
        lexicon = [l.strip().split() for l in file_reader]
    else:
        lexicon = [l.strip().lower().split() for l in file_reader]
    return lexicon