def extract_end_label(oLine):
    """
    Returns the end label.

    Parameters:

       oLine: (line object)

    Returns: (one element or empty list of strings)
    """
    word = oLine.line.replace(';', '').split()[-1]
    lower = word.lower()
    if lower == 'end' or lower == 'generate' or lower == 'process':
        return []
    return [word]
