def extract_speakers(cont: str) -> List[str]:
    """
    Extract the list of speakers.

    Args:
        cont (str): transcript content

    Returns:
        List[str]: list of speakers

    """
    pattern = re.compile(r"\n(.*?):")
    matches = pattern.findall(cont)

    return list(set(matches))

    Extract the list of speakers.

    Args:
        cont (str): transcript content

    Returns:
        List[str]: list of speakers

    
llama-index-integrations/readers/llama-index-readers-earnings-call-transcript/llama_index/readers/earnings_call_transcript/utils.py