def METHOD_NAME(training_example: Text) -> Text:
    """Replace special symbols related to the entities in the provided
       training example.
    Args:
        training_example: Original training example with special symbols.
    Returns:
        String with removed special symbols.
    """
    return re.sub(
        ENTITY_REGEX, lambda m: m.groupdict()[GROUP_ENTITY_TEXT], training_example
    )